Created
August 25, 2019 20:15
-
-
Save AurelienLavorel/9c0d4ceb04ddc56b6f608b0225c13ecd to your computer and use it in GitHub Desktop.
Fix session patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/app/code/core/Mage/Core/Model/Session/Abstract.php b/app/code/core/Mage/Core/Model/Session/Abstract.php | |
index 8386fb8..a287df6 100644 | |
--- a/app/code/core/Mage/Core/Model/Session/Abstract.php | |
+++ b/app/code/core/Mage/Core/Model/Session/Abstract.php | |
@@ -564,6 +564,8 @@ class Mage_Core_Model_Session_Abstract extends Mage_Core_Model_Session_Abstract_ | |
*/ | |
public function renewSession() | |
{ | |
+ return $this; | |
+ | |
$this->getCookie()->delete($this->getSessionName()); | |
$this->regenerateSessionId(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment