You are here

function heartbeat_init in Heartbeat 6.3

Same name and namespace in other branches
  1. 6.4 heartbeat.module \heartbeat_init()
  2. 7 heartbeat.module \heartbeat_init()

Implementation of hook_init().

File

./heartbeat.module, line 81

Code

function heartbeat_init() {
  global $user;
  if (!isset($user->heartbeat_relations)) {
    $user->heartbeat_relations = array();
  }
}