BUGFIX Unset $default_session when using Session::clear_all()

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@111049 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2010-09-21 20:29:12 +00:00 committed by Sam Minnee
parent 628a39cac7
commit f4ae35b55a

View File

@ -241,7 +241,10 @@ class Session {
* Clear all the values
*/
public static function clear_all() {
return self::current_session()->inst_clearAll();
$ret = self::current_session()->inst_clearAll();
self::$default_session = null;
return $ret;
}
/**