You are here

function user_relationships_uninstall in User Relationships 5

Same name and namespace in other branches
  1. 5.2 user_relationships.install \user_relationships_uninstall()
  2. 7 user_relationships.install \user_relationships_uninstall()

Implementation of hook_uninstall().

File

./user_relationships.install, line 79

Code

function user_relationships_uninstall() {
  db_query('DROP TABLE {user_relationships}');
  db_query('DROP TABLE {user_relationship_types}');
  db_query('DROP TABLE {cache_user_relationships}');
  variable_del('user_relationships_require_approval');
  variable_del('user_relationships_allow_multiple');
  variable_del('user_relationships_show_online_status');
  variable_del('user_relationships_user_mail');
  variable_del('user_relationships_profile_relationships');
}