소스 검색

Minor - Remove useless entity call

Yannick Warnier 8 년 전
부모
커밋
ff6dd00c0e
1개의 변경된 파일0개의 추가작업 그리고 2개의 파일을 삭제
  1. 0 2
      app/Migrations/Schema/V111/Version20160519201900.php

+ 0 - 2
app/Migrations/Schema/V111/Version20160519201900.php

@@ -20,8 +20,6 @@ class Version20160519201900 extends AbstractMigrationChamilo
      */
     public function up(Schema $schema)
     {
-        $em = $this->getEntityManager();
-
         $this->addSql("UPDATE settings_current SET subkeytext = 'Name' WHERE variable = 'profile' AND subkey = 'name'");
         $this->addSql("UPDATE settings_current SET subkeytext = 'OfficialCode' WHERE variable = 'profile' AND subkey = 'officialcode'");
         $this->addSql("UPDATE settings_current SET subkeytext = 'Phone' WHERE variable = 'profile' AND subkey = 'phone'");