Minor - format code

pull/3733/head
Julio Montoya 4 years ago
parent cdd0281177
commit 5a499a1da8
  1. 2
      src/CoreBundle/Migrations/Schema/V200/Version20180319145700.php
  2. 2
      src/CoreBundle/Migrations/Schema/V200/Version20201215072918.php
  3. 3
      src/CourseBundle/Entity/CThematic.php
  4. 1
      src/CourseBundle/Entity/CThematicAdvance.php
  5. 1
      src/CourseBundle/Entity/CThematicPlan.php

@ -20,6 +20,8 @@ class Version20180319145700 extends AbstractMigrationChamilo
if (!$survey->hasColumn('is_mandatory')) {
$this->addSql('ALTER TABLE c_survey ADD COLUMN is_mandatory TINYINT(1) DEFAULT "0" NOT NULL');
}
/*if (!$survey->hasIndex('idx_survey_code')) {
$this->addSql('CREATE INDEX idx_survey_code ON c_survey (code)');
}*/

@ -78,7 +78,7 @@ final class Version20201215072918 extends AbstractMigrationChamilo
'to_group_id' => 0,
'session_id' => $eventData['session_id'],
];
$this->fixItemProperty('calendar_event',$eventRepo, $course, $admin, $event, $course, $items);
$this->fixItemProperty('calendar_event', $eventRepo, $course, $admin, $event, $course, $items);
$em->persist($event);
$em->flush();
continue;

@ -265,9 +265,6 @@ class CThematic extends AbstractResource implements ResourceInterface
return $this->advances;
}
/**
* Resource identifier.
*/
public function getResourceIdentifier(): int
{
return $this->getIid();

@ -271,6 +271,7 @@ class CThematicAdvance //extends AbstractResource implements ResourceInterface
{
return $this->iid;
}
/*
public function getResourceIdentifier(): int
{

@ -211,6 +211,7 @@ class CThematicPlan //extends AbstractResource implements ResourceInterface
return $this;
}
/*
public function getResourceIdentifier(): int
{

Loading…
Cancel
Save