Skip to content

Commit

Permalink
Fix destroy() calling old constructor on CakeSession
Browse files Browse the repository at this point in the history
  • Loading branch information
predominant authored and markstory committed Jul 28, 2010
1 parent ea7d45c commit 16f4899
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cake/libs/cake_session.php
Expand Up @@ -429,7 +429,7 @@ public static function write($name, $value) {
*/
public function destroy() {
$_SESSION = array();
self::__construct(self::$path);
self::init(self::$path);
self::start();
self::renew();
self::_checkValid();
Expand Down

0 comments on commit 16f4899

Please sign in to comment.