From 112e08e5f25b79f96b4afc84e9f6144b4aa355e3 Mon Sep 17 00:00:00 2001 From: Devlin Date: Tue, 22 Oct 2013 14:20:18 +0200 Subject: [PATCH] FIX Session::get_timeout --- control/Session.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/control/Session.php b/control/Session.php index a4aaf0b89..0610d4fb1 100644 --- a/control/Session.php +++ b/control/Session.php @@ -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'); } }