You are here

function acl_user in ACL 5

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

Implementation of hook_user

1 string reference to 'acl_user'
acl_update_3 in ./acl.install

File

./acl.module, line 275
acl.module

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;
  }
}