Skip to content
Permalink
Browse files

replace deprecated method calls.

  • Loading branch information...
Niles
Niles committed Sep 11, 2009
1 parent 26a4349 commit b9970f74846b95f5942e91fc68cd2644943d6dcc
Showing with 3 additions and 3 deletions.
  1. +3 −3 cake/libs/controller/components/auth.php
@@ -678,8 +678,8 @@ function login($data = null) {
*/
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 @@ function password($password) {
*/
function shutdown(&$controller) {
if ($this->_loggedIn) {
$this->Session->del('Auth.redirect');
$this->Session->delete('Auth.redirect');
}
}
}

0 comments on commit b9970f7

Please sign in to comment.
You can’t perform that action at this time.