mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
FIX Session::get_timeout
This commit is contained in:
parent
f2d362b629
commit
112e08e5f2
@ -614,6 +614,6 @@ class Session {
|
||||
*/
|
||||
public static function get_timeout() {
|
||||
Deprecation::notice('3.2', 'Use the "Session.timeout" config setting instead');
|
||||
return Config::inst()->update('Session', 'timeout');
|
||||
return Config::inst()->get('Session', 'timeout');
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user