diff options
Diffstat (limited to 'application/front')
-rw-r--r-- | application/front/controller/visitor/InstallController.php | 5 |
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); | |||
5 | namespace Shaarli\Front\Controller\Visitor; | 5 | namespace Shaarli\Front\Controller\Visitor; |
6 | 6 | ||
7 | use Shaarli\ApplicationUtils; | 7 | use Shaarli\ApplicationUtils; |
8 | use Shaarli\Bookmark\BookmarkFilter; | ||
9 | use Shaarli\Container\ShaarliContainer; | 8 | use Shaarli\Container\ShaarliContainer; |
10 | use Shaarli\Front\Exception\AlreadyInstalledException; | 9 | use Shaarli\Front\Exception\AlreadyInstalledException; |
11 | use Shaarli\Front\Exception\ResourcePermissionException; | 10 | use 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!')] |