You are here

function activity_uninstall in Activity 6

Same name and namespace in other branches
  1. 5.4 activity.install \activity_uninstall()
  2. 5.2 activity.install \activity_uninstall()
  3. 5.3 activity.install \activity_uninstall()
  4. 6.2 activity.install \activity_uninstall()
  5. 7 activity.install \activity_uninstall()

Implementation of hook_uninstall().

File

./activity.install, line 133
Install file for activity module.

Code

function activity_uninstall() {
  drupal_uninstall_schema('activity');
  variable_del('activity_page_pager');
  variable_del('activity_purge');
  variable_del('activity_time_limit');
  variable_del('activity_user_optout');
  variable_del('activity_user_profile_records');
  db_query("DELETE FROM {variable} WHERE name LIKE 'activity_block_%'");
}