diff options
author | Aleksander Machniak <alec@alec.pl> | 2012-11-15 09:34:08 +0100 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2012-11-15 09:34:08 +0100 |
commit | 8d54286df87e21673c05f091e38ca4de14aae326 (patch) | |
tree | d60c6d6765f5beafe4966352ebbd52e4c9c9661b /program/include/rcube_session.php | |
parent | 82d875769cade12b82aeab6723c869d87fb7a4c9 (diff) | |
parent | f226549d4f8f258deca9e165ef857252b79d2ee0 (diff) |
Merge branch 'keep-alive'
Conflicts:
CHANGELOG
Diffstat (limited to 'program/include/rcube_session.php')
-rw-r--r-- | program/include/rcube_session.php | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/program/include/rcube_session.php b/program/include/rcube_session.php index 6192466cd..c71efa2aa 100644 --- a/program/include/rcube_session.php +++ b/program/include/rcube_session.php @@ -43,7 +43,6 @@ class rcube_session private $secret = ''; private $ip_check = false; private $logging = false; - private $keep_alive = 0; private $memcache; /** @@ -525,24 +524,6 @@ class rcube_session $this->now = $now - ($now % ($this->lifetime / 2)); } - /** - * Setter for keep_alive interval - */ - public function set_keep_alive($keep_alive) - { - $this->keep_alive = $keep_alive; - - if ($this->lifetime < $keep_alive) - $this->set_lifetime($keep_alive + 30); - } - - /** - * Getter for keep_alive interval - */ - public function get_keep_alive() - { - return $this->keep_alive; - } /** * Getter for remote IP saved with this session @@ -552,6 +533,7 @@ class rcube_session return $this->ip; } + /** * Setter for cookie encryption secret */ |