aboutsummaryrefslogtreecommitdiffhomepage
path: root/application/front/controller/visitor/InstallController.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/front/controller/visitor/InstallController.php')
-rw-r--r--application/front/controller/visitor/InstallController.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/application/front/controller/visitor/InstallController.php b/application/front/controller/visitor/InstallController.php
index 5e3152c7..7cb32777 100644
--- a/application/front/controller/visitor/InstallController.php
+++ b/application/front/controller/visitor/InstallController.php
@@ -5,7 +5,6 @@ declare(strict_types=1);
5namespace Shaarli\Front\Controller\Visitor; 5namespace Shaarli\Front\Controller\Visitor;
6 6
7use Shaarli\ApplicationUtils; 7use Shaarli\ApplicationUtils;
8use Shaarli\Bookmark\BookmarkFilter;
9use Shaarli\Container\ShaarliContainer; 8use Shaarli\Container\ShaarliContainer;
10use Shaarli\Front\Exception\AlreadyInstalledException; 9use Shaarli\Front\Exception\AlreadyInstalledException;
11use Shaarli\Front\Exception\ResourcePermissionException; 10use Shaarli\Front\Exception\ResourcePermissionException;
@@ -140,10 +139,6 @@ class InstallController extends ShaarliVisitorController
140 return $response->write($this->render('error')); 139 return $response->write($this->render('error'));
141 } 140 }
142 141
143 if ($this->container->bookmarkService->count(BookmarkFilter::$ALL) === 0) {
144 $this->container->bookmarkService->initialize();
145 }
146
147 $this->container->sessionManager->setSessionParameter( 142 $this->container->sessionManager->setSessionParameter(
148 SessionManager::KEY_SUCCESS_MESSAGES, 143 SessionManager::KEY_SUCCESS_MESSAGES,
149 [t('Shaarli is now configured. Please login and start shaaring your bookmarks!')] 144 [t('Shaarli is now configured. Please login and start shaaring your bookmarks!')]