Permalink
Browse files

FIX Session::get_timeout

  • Loading branch information...
1 parent f2d362b commit 112e08e5f25b79f96b4afc84e9f6144b4aa355e3 @JayDevlin JayDevlin committed Oct 22, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 control/Session.php
View
@@ -614,6 +614,6 @@ public static function set_timeout($timeout) {
*/
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');
}
}

0 comments on commit 112e08e

Please sign in to comment.