You are here

function ldapdata_uninstall in LDAP integration 5

Same name and namespace in other branches
  1. 6 ldapdata.install \ldapdata_uninstall()

Implementation of hook_uninstall().

File

./ldapdata.install, line 34

Code

function ldapdata_uninstall() {
  db_query("ALTER TABLE {ldapauth} DROP COLUMN ldapdata_binddn");
  db_query("ALTER TABLE {ldapauth} DROP COLUMN ldapdata_bindpw");
  db_query("ALTER TABLE {ldapauth} DROP COLUMN ldapdata_bindpw_clear");
  db_query("ALTER TABLE {ldapauth} DROP COLUMN ldapdata_rwattrs");
  db_query("ALTER TABLE {ldapauth} DROP COLUMN ldapdata_roattrs");
  db_query("ALTER TABLE {ldapauth} DROP COLUMN ldapdata_mappings");
}