query("UPDATE {items} SET owner_id = {$admin->id}"); } static function uninstall() { // Delete all groups so that we give other modules an opportunity to clean up foreach (identity::groups() as $group) { module::event("group_deleted", $group); } } }