You are here

function badbehavior_boot in Bad Behavior 6.2

Same name and namespace in other branches
  1. 6 badbehavior.module \badbehavior_boot()
  2. 7.2 badbehavior.module \badbehavior_boot()

Implements hook_boot().

Stops Bad Behavior from loading on non-cached pages if we are logged in.

File

./badbehavior.module, line 65
Integrates Bad Behavior with Drupal

Code

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