You are here

function UserRestrictions::delete in User restrictions 7

File

./user_restrictions.classes.inc, line 135
Contains the classes used by the User restrictions module.

Class

UserRestrictions
The main class used by the User Restrictions module.

Code

function delete() {
  db_delete('user_restrictions')
    ->condition('urid', $this->urid)
    ->execute();
}