/** * Allows you to hook into AuthComponent::logout(), * and implement specialized logout behavior. * * All attached authentication objects will have this method * called when a user logs out. * * @param array $user The user about to be logged out. * @return void The return value from this method isn't checked by AuthComponent::logout(). */ public function logout($user) { return $this->UserModel->logout($user); }