You are here

function friendlist_activity_disable in Heartbeat 6.4

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

Implementation of hook_disable().

File

modules/friendlist_activity/friendlist_activity.install, line 23
Install file for friendlist_activity

Code

function friendlist_activity_disable() {

  // Delete left over messages
  db_query("DELETE FROM {heartbeat_messages} WHERE message_id = 'heartbeat_become_friends' || message_id = 'heartbeat_add_FL_OW_relation'");
}