コード例 #1
0
ファイル: Logout.php プロジェクト: SystemEd-Jacob/nethgui
 public function process()
 {
     $request = $this->getRequest();
     if ($request->isMutation() && $this->parameters['action'] === 'logout') {
         $this->getLog()->notice(sprintf("%s: user %s logged out", __CLASS__, $request->getUser()->getCredential('username')));
         $this->session->logout();
     }
 }