function acl_update_5 in ACL 7
Same name and namespace in other branches
- 5 acl.install \acl_update_5()
- 6 acl.install \acl_update_5()
Clean up {acl_user}.
File
- ./
acl.install, line 149 - Install, update and uninstall functions for the acl module.
Code
function acl_update_5() {
$ret = array();
$ret[] = update_sql("DELETE FROM {acl_user} WHERE uid NOT IN (SELECT uid FROM {users})");
return $ret;
}