aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Command/InstallCommand.php
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2016-01-20 19:54:57 +0100
committerJeremy Benoist <jeremy.benoist@gmail.com>2016-01-31 14:37:19 +0100
commitbc78968764c741019a6b866ad434678cdbecbba4 (patch)
tree2b0ef3a4dcb51f09c7865a13b797221fadb445ae /src/Wallabag/CoreBundle/Command/InstallCommand.php
parentfeb02cb709b7f72330fabcac2f81d0fabdbf1a9b (diff)
downloadwallabag-bc78968764c741019a6b866ad434678cdbecbba4.tar.gz
wallabag-bc78968764c741019a6b866ad434678cdbecbba4.tar.zst
wallabag-bc78968764c741019a6b866ad434678cdbecbba4.zip
Move default configuration out of parameters
These default configuration value shouldn't be in parameters.yml.
Diffstat (limited to 'src/Wallabag/CoreBundle/Command/InstallCommand.php')
-rw-r--r--src/Wallabag/CoreBundle/Command/InstallCommand.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Wallabag/CoreBundle/Command/InstallCommand.php b/src/Wallabag/CoreBundle/Command/InstallCommand.php
index da099a19..7a7e3a64 100644
--- a/src/Wallabag/CoreBundle/Command/InstallCommand.php
+++ b/src/Wallabag/CoreBundle/Command/InstallCommand.php
@@ -205,10 +205,10 @@ class InstallCommand extends ContainerAwareCommand
205 $em->persist($user); 205 $em->persist($user);
206 206
207 $config = new Config($user); 207 $config = new Config($user);
208 $config->setTheme($this->getContainer()->getParameter('theme')); 208 $config->setTheme($this->getContainer()->getParameter('wallabag_core.theme'));
209 $config->setItemsPerPage($this->getContainer()->getParameter('items_on_page')); 209 $config->setItemsPerPage($this->getContainer()->getParameter('wallabag_core.items_on_page'));
210 $config->setRssLimit($this->getContainer()->getParameter('rss_limit')); 210 $config->setRssLimit($this->getContainer()->getParameter('wallabag_core.rss_limit'));
211 $config->setLanguage($this->getContainer()->getParameter('language')); 211 $config->setLanguage($this->getContainer()->getParameter('wallabag_core.language'));
212 212
213 $em->persist($config); 213 $em->persist($config);
214 214