You are here

function acl_update_5 in ACL 5

Same name and namespace in other branches
  1. 6 acl.install \acl_update_5()
  2. 7 acl.install \acl_update_5()

Clean up {acl_user}.

File

./acl.install, line 168

Code

function acl_update_5() {
  $ret = array();
  db_query("DELETE FROM {acl_user} WHERE uid NOT IN (SELECT uid FROM {users})");
  return $ret;
}