mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Merge pull request #2578 from JayDevlin/fix-session-get_timeout
BUG Session::get_timeout()
This commit is contained in:
commit
d9aa7acfbd
@ -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…
x
Reference in New Issue
Block a user