You are here

function acl_user in ACL 6

Same name and namespace in other branches
  1. 5 acl.module \acl_user()

Implementation of hook_user().

1 string reference to 'acl_user'
acl_update_2 in ./acl.install
Fixes primary keys

File

./acl.module, line 201
An API module providing by-user access control lists.

Code

function acl_user($op, &$edit, &$account, $category = NULL) {
  switch ($op) {
    case 'delete':
      db_query("DELETE FROM {acl_user} WHERE uid = %d", $account->uid);
      break;
  }
}