示例#1
0
文件: Action.php 项目: rjack/frapi
 /**
  * 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();
 }
示例#2
0
文件: User.php 项目: crlang44/frapi
 /**
  * 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);
 }