aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/DoctrineMigrations/Version20161117071626.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/DoctrineMigrations/Version20161117071626.php')
-rw-r--r--app/DoctrineMigrations/Version20161117071626.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/DoctrineMigrations/Version20161117071626.php b/app/DoctrineMigrations/Version20161117071626.php
index e65598a9..d864888f 100644
--- a/app/DoctrineMigrations/Version20161117071626.php
+++ b/app/DoctrineMigrations/Version20161117071626.php
@@ -32,7 +32,7 @@ class Version20161117071626 extends AbstractMigration implements ContainerAwareI
32 $share = $this->container 32 $share = $this->container
33 ->get('doctrine.orm.default_entity_manager') 33 ->get('doctrine.orm.default_entity_manager')
34 ->getConnection() 34 ->getConnection()
35 ->fetchArray('SELECT * FROM '.$this->getTable('craue_config_setting').' WHERE name = "share_unmark"'); 35 ->fetchArray('SELECT * FROM '.$this->getTable('craue_config_setting')." WHERE name = 'share_unmark'");
36 36
37 if (false === $share) { 37 if (false === $share) {
38 $this->addSql('INSERT INTO '.$this->getTable('craue_config_setting')." (name, value, section) VALUES ('share_unmark', 0, 'entry')"); 38 $this->addSql('INSERT INTO '.$this->getTable('craue_config_setting')." (name, value, section) VALUES ('share_unmark', 0, 'entry')");
@@ -41,7 +41,7 @@ class Version20161117071626 extends AbstractMigration implements ContainerAwareI
41 $unmark = $this->container 41 $unmark = $this->container
42 ->get('doctrine.orm.default_entity_manager') 42 ->get('doctrine.orm.default_entity_manager')
43 ->getConnection() 43 ->getConnection()
44 ->fetchArray('SELECT * FROM '.$this->getTable('craue_config_setting').' WHERE name = "unmark_url"'); 44 ->fetchArray('SELECT * FROM '.$this->getTable('craue_config_setting')." WHERE name = 'unmark_url'");
45 45
46 if (false === $unmark) { 46 if (false === $unmark) {
47 $this->addSql('INSERT INTO '.$this->getTable('craue_config_setting')." (name, value, section) VALUES ('unmark_url', 'https://unmark.it', 'entry')"); 47 $this->addSql('INSERT INTO '.$this->getTable('craue_config_setting')." (name, value, section) VALUES ('unmark_url', 'https://unmark.it', 'entry')");