diff options
Diffstat (limited to 'app/DoctrineMigrations/Version20170602075214.php')
-rw-r--r-- | app/DoctrineMigrations/Version20170602075214.php | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/app/DoctrineMigrations/Version20170602075214.php b/app/DoctrineMigrations/Version20170602075214.php index 12997c71..f72839b2 100644 --- a/app/DoctrineMigrations/Version20170602075214.php +++ b/app/DoctrineMigrations/Version20170602075214.php | |||
@@ -10,9 +10,6 @@ use Wallabag\CoreBundle\Doctrine\WallabagMigration; | |||
10 | */ | 10 | */ |
11 | class Version20170602075214 extends WallabagMigration | 11 | class Version20170602075214 extends WallabagMigration |
12 | { | 12 | { |
13 | /** | ||
14 | * @param Schema $schema | ||
15 | */ | ||
16 | public function up(Schema $schema) | 13 | public function up(Schema $schema) |
17 | { | 14 | { |
18 | $apiUserRegistration = $this->container | 15 | $apiUserRegistration = $this->container |
@@ -25,9 +22,6 @@ class Version20170602075214 extends WallabagMigration | |||
25 | $this->addSql('INSERT INTO ' . $this->getTable('craue_config_setting') . " (name, value, section) VALUES ('api_user_registration', '0', 'api')"); | 22 | $this->addSql('INSERT INTO ' . $this->getTable('craue_config_setting') . " (name, value, section) VALUES ('api_user_registration', '0', 'api')"); |
26 | } | 23 | } |
27 | 24 | ||
28 | /** | ||
29 | * @param Schema $schema | ||
30 | */ | ||
31 | public function down(Schema $schema) | 25 | public function down(Schema $schema) |
32 | { | 26 | { |
33 | $this->addSql('DELETE FROM ' . $this->getTable('craue_config_setting') . " WHERE name = 'api_user_registration';"); | 27 | $this->addSql('DELETE FROM ' . $this->getTable('craue_config_setting') . " WHERE name = 'api_user_registration';"); |