You are here

function messaging_debug_footer in Messaging 6.3

Same name and namespace in other branches
  1. 5 messaging_debug/messaging_debug.module \messaging_debug_footer()
  2. 6 messaging_debug/messaging_debug.module \messaging_debug_footer()
  3. 6.2 messaging_debug/messaging_debug.module \messaging_debug_footer()

Implementation of hook_footer()

Only debugging functionality for administrators, prints out a table with logs

Note: this is useless when there is a redirection after submitting. Enable Devel option 'Display redirection page' to see them.

File

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

Code

function messaging_debug_footer() {
  if (user_access('administer messaging') && ($logs = messaging_log_get())) {
    return messaging_log_format($logs);
  }
}