From 2a8be511c7684bf407c1ae2eee051bfe97e4d2f2 Mon Sep 17 00:00:00 2001 From: Olle Haerstedt Date: Thu, 22 Feb 2018 16:18:53 +0100 Subject: [PATCH] Dev: Remove session->destroy() in installer (problem with session) Conflicts: application/controllers/InstallerController.php --- application/controllers/InstallerController.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/application/controllers/InstallerController.php b/application/controllers/InstallerController.php index 4266dd1b92c..8b81e0a95f3 100644 --- a/application/controllers/InstallerController.php +++ b/application/controllers/InstallerController.php @@ -123,12 +123,7 @@ protected function _sessioncontrol() */ private function stepWelcome() { - // Destroy the session. Good to have when running installer multiple times (for testing). - Yii::app()->session->clear(); - Yii::app()->session->destroy(); - - if (!is_null(Yii::app()->request->getPost('installerLang'))) - { + if (!is_null(Yii::app()->request->getPost('installerLang'))) { Yii::app()->session['installerLang'] = Yii::app()->request->getPost('installerLang'); $this->redirect(array('installer/license')); }