function domain_update_6205 in Domain Access 6.2
Remove dead user accounts from {domain_editor}.
File
- ./
domain.install, line 221 - Install file.
Code
function domain_update_6205() {
$ret = array();
$ret[] = update_sql("DELETE FROM {domain_editor} WHERE uid NOT IN (SELECT u.uid FROM {users} u)");
return $ret;
}