function acl_remove_all_users in ACL 6
Same name and namespace in other branches
- 8 acl.module \acl_remove_all_users()
- 7 acl.module \acl_remove_all_users()
Remove all users from an ACL.
1 call to acl_remove_all_users()
- acl_delete_acl in ./
acl.module - Delete an existing ACL.
File
- ./
acl.module, line 63 - An API module providing by-user access control lists.
Code
function acl_remove_all_users($acl_id) {
db_query("DELETE FROM {acl_user} WHERE acl_id = %d", $acl_id);
}