Skip to content
Permalink
Browse files

Adding static to destroy()

  • Loading branch information...
predominant authored and markstory committed Jul 11, 2010
1 parent f47ee0d commit 1dd02b77b2f4bea77fe8bf2721845542f62ed39e
Showing with 1 addition and 9 deletions.
  1. +1 −9 cake/libs/cake_session.php
@@ -97,14 +97,6 @@ class CakeSession {
*/
public static $sessionTime = false;
/**
* The number of seconds to set for session.cookie_lifetime. 0 means
* at browser close.
*
* @var integer
*/
var $cookieLifeTime = false;
/**
* Keeps track of keys to watch for writes on
*
@@ -444,7 +436,7 @@ public static function write($name, $value) {
*
* @return void
*/
public function destroy() {
public static function destroy() {
$_SESSION = null;
self::$id = null;
self::init(self::$path);

0 comments on commit 1dd02b7

Please sign in to comment.
You can’t perform that action at this time.