deprecated loggedIn

This commit is contained in:
euromark 2014-01-07 16:12:38 +01:00
parent 18255bdcf3
commit e3befe30df

View file

@ -806,6 +806,7 @@ class AuthComponent extends Component {
* 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();