You are here

function ldapgroups_uninstall in LDAP integration 5

Same name and namespace in other branches
  1. 6 ldapgroups.install \ldapgroups_uninstall()

Implementation of hook_uninstall().

File

./ldapgroups.install, line 38

Code

function ldapgroups_uninstall() {
  db_query("ALTER TABLE {ldapauth} DROP COLUMN ldap_groups_in_dn");
  db_query("ALTER TABLE {ldapauth} DROP COLUMN ldap_groups_in_dn_desc");
  db_query("ALTER TABLE {ldapauth} DROP COLUMN ldap_group_dn_attribute");
  db_query("ALTER TABLE {ldapauth} DROP COLUMN ldap_group_attr");
  db_query("ALTER TABLE {ldapauth} DROP COLUMN ldap_groups_in_attr");
  db_query("ALTER TABLE {ldapauth} DROP COLUMN ldap_groups_as_entries");
  db_query("ALTER TABLE {ldapauth} DROP COLUMN ldap_group_entries");
  db_query("ALTER TABLE {ldapauth} DROP COLUMN ldap_group_entries_attribute");
}