You are here

function messaging_debug_init in Messaging 6.2

Same name and namespace in other branches
  1. 6.3 messaging_debug/messaging_debug.module \messaging_debug_init()

Implementation of hook_init

File

messaging_debug/messaging_debug.module, line 15
Simple messaging using html page. Messaging method plug-in

Code

function messaging_debug_init() {
  if (user_access('administer_messaging') && variable_get('messaging_debug', 0)) {
    messaging_log_start();
  }
}