diff --git a/modules/ldap/helpers/ldap_installer.php b/modules/ldap/helpers/ldap_installer.php new file mode 100644 index 00000000..7f86cb3d --- /dev/null +++ b/modules/ldap/helpers/ldap_installer.php @@ -0,0 +1,40 @@ +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); + } + } +} \ No newline at end of file