mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merged [47071]: Added Session::get_timeout.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@60506 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
1aa5b9e4f7
commit
a158cccca3
@ -227,6 +227,9 @@ class Session {
|
|||||||
public static function set_timeout($timeout) {
|
public static function set_timeout($timeout) {
|
||||||
self::$timeout = intval($timeout);
|
self::$timeout = intval($timeout);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
|
public static function get_timeout() {
|
||||||
|
return self::$timeout;
|
||||||
|
}
|
||||||
|
}
|
||||||
?>
|
?>
|
||||||
|
Loading…
Reference in New Issue
Block a user