You are here

function badbehavior_init in Bad Behavior 6

Same name and namespace in other branches
  1. 5.2 badbehavior.module \badbehavior_init()
  2. 6.2 badbehavior.module \badbehavior_init()
  3. 7.2 badbehavior.module \badbehavior_init()

Implements hook_init().

File

./badbehavior.module, line 66

Code

function badbehavior_init() {
  if ($GLOBALS['user']->uid) {
    badbehavior_start_badbehavior();
  }
}