Skip to content

Commit

Permalink
Dev: Remove session->destroy() in installer (problem with session)
Browse files Browse the repository at this point in the history
Conflicts:
	application/controllers/InstallerController.php
  • Loading branch information
olleharstedt committed Feb 23, 2018
1 parent c8e62d8 commit 2a8be51
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions application/controllers/InstallerController.php
Expand Up @@ -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'));
}
Expand Down

0 comments on commit 2a8be51

Please sign in to comment.