mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
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:
parent
064ccecd6b
commit
abe50eb26a
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user