You are here

function friendlist_activity_disable in Heartbeat 6.3

Same name and namespace in other branches
  1. 6.4 modules/friendlist_activity/friendlist_activity.install \friendlist_activity_disable()
  2. 6.2 user_activity/modules/friendlist_activity/friendlist_activity.install \friendlist_activity_disable()

Implementation of hook_disable().

File

modules/friendlist_activity/friendlist_activity.install, line 15

Code

function friendlist_activity_disable() {

  // Delete left over messages
  db_query("DELETE FROM {heartbeat_messages} WHERE module = 'friendlist_activity'");
  variable_del('heartbeat_add_friends_to_personal');
}