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'); } } }