From 1aceb9cec82639250a603aa0806f0399f7bae68d Mon Sep 17 00:00:00 2001 From: alecpl Date: Mon, 16 Apr 2012 11:02:21 +0000 Subject: - Framework refactoring (I hope it's the last one): rcube,rcmail,rcube_ui -> rcube,rcmail,rcube_utils renamed main.inc into rcube_bc.inc --- program/include/rcube_session.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'program/include/rcube_session.php') diff --git a/program/include/rcube_session.php b/program/include/rcube_session.php index da221c30e..f26989d98 100644 --- a/program/include/rcube_session.php +++ b/program/include/rcube_session.php @@ -386,7 +386,7 @@ class rcube_session $this->vars = false; $this->ip = $_SERVER['REMOTE_ADDR']; // update IP (might have changed) $this->destroy(session_id()); - rcmail::setcookie($this->cookiename, '-del-', time() - 60); + rcube_utils::setcookie($this->cookiename, '-del-', time() - 60); } @@ -610,7 +610,7 @@ class rcube_session function set_auth_cookie() { $this->cookie = $this->_mkcookie($this->now); - rcmail::setcookie($this->cookiename, $this->cookie, 0); + rcube_utils::setcookie($this->cookiename, $this->cookie, 0); $_COOKIE[$this->cookiename] = $this->cookie; } -- cgit v1.2.3