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

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@112887 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sam Minnee 2010-10-19 03:41:46 +00:00
parent 064ccecd6b
commit abe50eb26a

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;
}
/**