diff --git a/cake/libs/cake_session.php b/cake/libs/cake_session.php index ad44a57ee..b0a2f6e16 100644 --- a/cake/libs/cake_session.php +++ b/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 @@ class CakeSession { * * @return void */ - public function destroy() { + public static function destroy() { $_SESSION = null; self::$id = null; self::init(self::$path);