You are here

heartbeat.install in Heartbeat 6.2

File

heartbeat.install
View source
<?php

// by Jochen Stals - ONE-agency - www.one-agency.be
// To clear cache while developing, you can quickly use this
// rules_clear_cache();

/**
 * install basic variables
 */
function heartbeat_enable() {
  variable_set('heartbeat_enabled', 1);
}

/**
 * Uninstall basic variables
 */
function heartbeat_disable() {
  variable_del('heartbeat_enabled');
}

Functions

Namesort descending Description
heartbeat_disable Uninstall basic variables
heartbeat_enable install basic variables