diff options
author | redmatrix <git@macgirvin.com> | 2016-05-16 13:46:35 -0700 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-05-16 13:46:35 -0700 |
commit | 18a9831cd3408ec4ac7e22320f1f92ef81c6d293 (patch) | |
tree | c855ad5268beb667b7073991ef981c0bb38f19a5 /Zotlabs/Web | |
parent | 605c05fc8b6af43c095818a69150e35b41795d78 (diff) | |
download | volse-hubzilla-18a9831cd3408ec4ac7e22320f1f92ef81c6d293.tar.gz volse-hubzilla-18a9831cd3408ec4ac7e22320f1f92ef81c6d293.tar.bz2 volse-hubzilla-18a9831cd3408ec4ac7e22320f1f92ef81c6d293.zip |
restrict static to the one function that requires it
Diffstat (limited to 'Zotlabs/Web')
-rw-r--r-- | Zotlabs/Web/Session.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Zotlabs/Web/Session.php b/Zotlabs/Web/Session.php index 5ee4343df..248da51a7 100644 --- a/Zotlabs/Web/Session.php +++ b/Zotlabs/Web/Session.php @@ -16,7 +16,7 @@ class Session { private static $handler = null; private static $session_started = false; - static public function init() { + public function init() { $gc_probability = 50; @@ -51,7 +51,7 @@ class Session { } - static public function start() { + public function start() { session_start(); self::$session_started = true; } @@ -71,7 +71,7 @@ class Session { } } - static public function new_cookie($xtime) { + public function new_cookie($xtime) { $newxtime = (($xtime> 0) ? (time() + $xtime) : 0); @@ -98,7 +98,7 @@ class Session { } - static public function extend_cookie() { + public function extend_cookie() { // if there's a long-term cookie, extend it @@ -112,7 +112,7 @@ class Session { } - static public function return_check() { + public function return_check() { // check a returning visitor against IP changes. // If the change results in being blocked from re-entry with the current cookie |