You are here

function heartbeat_disable in Heartbeat 6.3

Same name and namespace in other branches
  1. 6.2 heartbeat.install \heartbeat_disable()

Uninstall basic variables

File

./heartbeat.install, line 67

Code

function heartbeat_disable() {
  variable_del('heartbeat_enabled');
  variable_del('heartbeat_show_message_times');
  variable_del('heartbeat_show_time_grouped_items');
  variable_del('message_types');
  variable_del('message_access_types');
  variable_del('heartbeat_types');
  variable_del('heartbeat_perms');
  variable_del('heartbeat_activity_no_duplicate_seconds');
  variable_del('heartbeat_activity_grouping_seconds');
  variable_del('heartbeat_activity_grouping_how_many');
  variable_del('heartbeat_block_public_items_max');
  variable_del('heartbeat_block_private_items_max');
  variable_del('heartbeat_block_items_max');
  variable_del('heartbeat_activity_date_format');
}