public function logout() { if ($this->getUser()) { $this->getDi()->hook->call(new Am_Event_AuthAfterLogout($this->getUser())); } return parent::logout(); }
public function logout() { if ($this->getUserId()) { $this->getDi()->adminLogTable->log('Logged out'); } return parent::logout(); }