Skip to content

Commit

Permalink
deprecated loggedIn
Browse files Browse the repository at this point in the history
  • Loading branch information
euromark committed Jan 7, 2014
1 parent 18255bd commit e3befe3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Cake/Controller/Component/AuthComponent.php
Expand Up @@ -806,6 +806,7 @@ public static function password($password) {
* Check whether or not the current user has data in the session, and is considered logged in.
*
* @return boolean true if the user is logged in, false otherwise
* @deprecated Since 2.5. Use AuthComponent::user() directly.
*/
public function loggedIn() {
return (bool)$this->user();
Expand Down

0 comments on commit e3befe3

Please sign in to comment.