function acl_remove_all_users in ACL 7
Same name and namespace in other branches
- 8 acl.module \acl_remove_all_users()
- 6 acl.module \acl_remove_all_users()
Remove all users from an ACL.
File
- ./
acl.module, line 93 - An API module providing by-user access control lists.
Code
function acl_remove_all_users($acl_id) {
db_delete('acl_user')
->condition('acl_id', $acl_id)
->execute();
}