Esempio n. 1
0
 /**
  * Delete an action
  *
  * This method deletes an action by it's hash-id
  *
  * @param  string $id The id of the action to delete.
  * @return void
  */
 public function delete($id)
 {
     $this->config->deleteByField('action', 'hash', $id);
     $this->refreshAPCCache();
 }
Esempio n. 2
0
 /**
  * Delete a user
  *
  * This method deletes a user by it's hash-id
  *
  * @param  string $id The id of the user to delete.
  * @return void
  */
 public function delete($id)
 {
     $this->config->deleteByField('user', 'handle', $id);
 }