You are here

function acl_remove_user in ACL 6

Same name and namespace in other branches
  1. 8 acl.module \acl_remove_user()
  2. 5 acl.module \acl_remove_user()
  3. 7 acl.module \acl_remove_user()

Remove the specified UID from an ACL.

File

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

Code

function acl_remove_user($acl_id, $uid) {
  db_query("DELETE FROM {acl_user} WHERE acl_id = %d AND uid = %d ", $acl_id, $uid);
}