Esempio n. 1
0
 /** {@inheritdoc} */
 protected function action_delete()
 {
     if ($this->bean->application == 'Google') {
         require_once 'include/externalAPI/Google/ExtAPIGoogle.php';
         $api = new ExtAPIGoogle();
         $api->revokeToken();
     } else {
         parent::action_delete();
     }
 }
Esempio n. 2
0
 protected function action_delete()
 {
     $this->dieIfNotAdmin();
     parent::action_delete();
 }