FIX Session::get_timeout

This commit is contained in:
Devlin 2013-10-22 14:20:18 +02:00
parent f2d362b629
commit 112e08e5f2

View File

@ -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');
}
}