Example #1
0
 /**
  * Remove a user
  *
  * @param array key values pairs (value may be a string or an array)
  *                      This will construct the WHERE clause of your update
  *                      Be careful, if you leave this blank no WHERE clause
  *                      will be used and all users will be affected by the update
  * @return int|bool false on error, the affected rows on success
  *
  * @access public
  */
 function removeUser($filters)
 {
     $result = $this->_storage->delete('users', $filters);
     // todo: notify observer
     return $result;
 }