Permalink
Browse files

deprecated loggedIn

  • Loading branch information...
dereuromark committed Jan 7, 2014
1 parent 18255bd commit e3befe30df953abd76223912c4cbc804b6919360
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/Cake/Controller/Component/AuthComponent.php
@@ -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();

0 comments on commit e3befe3

Please sign in to comment.