mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
inst_clearAll() does not return anything so clear_all() method should not expect any return value from inst_clearAll invocation
This commit is contained in:
parent
d30b4b1d00
commit
611cd53be8
@ -257,12 +257,12 @@ class Session {
|
||||
|
||||
/**
|
||||
* Clear all the values
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public static function clear_all() {
|
||||
$ret = self::current_session()->inst_clearAll();
|
||||
self::$default_session = null;
|
||||
|
||||
return $ret;
|
||||
self::current_session()->inst_clearAll();
|
||||
self::$default_session = null;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user