You are here

function domain_uninstall in Domain Access 5

Same name and namespace in other branches
  1. 8 domain/domain.install \domain_uninstall()
  2. 6.2 domain.install \domain_uninstall()
  3. 7.3 domain.install \domain_uninstall()
  4. 7.2 domain.install \domain_uninstall()

Implement hook_uninstall()

File

./domain.install, line 69
Install file.

Code

function domain_uninstall() {
  db_query("DROP TABLE {domain}");
  db_query("DROP TABLE {domain_access}");
  db_query("DELETE from {variable} WHERE name LIKE '%s%%'", 'domain_');
}