예제 #1
0
 /**
  * AuthenticationType::delete
  * Remove an AuthenticationType, this should be used sparingly.
  */
 public function delete()
 {
     $db = Loader::db();
     if (method_exists($this->controller, 'deleteType')) {
         $this->controller->deleteType();
     }
     $db->Execute("DELETE FROM AuthenticationTypes WHERE authTypeID=?", array($this->authTypeID));
 }