Skip to content

Commit

Permalink
Fixed a bug with fSession::reset() that is causing some unit tests to…
Browse files Browse the repository at this point in the history
… fail
  • Loading branch information
wbond committed Apr 12, 2012
1 parent 273c871 commit 3ee54e8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions classes/fSession.php
Expand Up @@ -15,7 +15,8 @@
* @package Flourish
* @link http://flourishlib.com/fSession
*
* @version 1.0.0b19
* @version 1.0.0b20
* @changes 1.0.0b20 Fixed bugs with ::reset() introduced in 1.0.0b19 [wb, 2011-08-23]
* @changes 1.0.0b19 Fixed some session warning messages for PHP 5.1.6 [wb, 2011-07-29]
* @changes 1.0.0b18 Added support for storing session data in memcache, redis and databases using fCache and ::setBackend() [wb, 2011-06-21]
* @changes 1.0.0b17 Updated ::ignoreSubdomain() to use `$_SERVER['HTTP_HOST']` when `$_SERVER['SERVER_NAME']` is not set [wb, 2011-02-01]
Expand Down Expand Up @@ -643,10 +644,10 @@ static public function reset()
self::$normal_timespan = NULL;
self::$persistent_timespan = NULL;
self::$regenerated = FALSE;
self::$backend = NULL;
self::$key_prefix = '';
self::destroy();
self::close();
self::$backend = NULL;
self::$key_prefix = '';
}


Expand Down

0 comments on commit 3ee54e8

Please sign in to comment.