You are here

function acl_update_5 in ACL 6

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

Clean up {acl_user}.

File

./acl.install, line 162
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;
}