From b9970f74846b95f5942e91fc68cd2644943d6dcc Mon Sep 17 00:00:00 2001 From: Niles Date: Fri, 11 Sep 2009 06:58:23 -0400 Subject: [PATCH] replace deprecated method calls. --- cake/libs/controller/components/auth.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cake/libs/controller/components/auth.php b/cake/libs/controller/components/auth.php index 4f2a6b6dd..16629735b 100644 --- a/cake/libs/controller/components/auth.php +++ b/cake/libs/controller/components/auth.php @@ -678,8 +678,8 @@ class AuthComponent extends Object { */ function logout() { $this->__setDefaults(); - $this->Session->del($this->sessionKey); - $this->Session->del('Auth.redirect'); + $this->Session->delete($this->sessionKey); + $this->Session->delete('Auth.redirect'); $this->_loggedIn = false; return Router::normalize($this->logoutRedirect); } @@ -915,7 +915,7 @@ class AuthComponent extends Object { */ function shutdown(&$controller) { if ($this->_loggedIn) { - $this->Session->del('Auth.redirect'); + $this->Session->delete('Auth.redirect'); } } }