You are here

function notifications_admin_queue in Notifications 6.2

Same name and namespace in other branches
  1. 5 notifications.admin.inc \notifications_admin_queue()
  2. 6 notifications.admin.inc \notifications_admin_queue()
  3. 6.3 notifications.admin.inc \notifications_admin_queue()

Admin queue management

@ TO DO Add confirmation before queue reset

1 string reference to 'notifications_admin_queue'
notifications_menu in ./notifications.module
Implementation of hook_menu().

File

./notifications.admin.inc, line 392

Code

function notifications_admin_queue($op = 'status', $param = NULL) {
  $output = '';
  $output .= drupal_get_form('notifications_admin_queue_operations');
  $output .= notifications_admin_queue_summary();

  // Display logs from last process
  if ($logs = messaging_log_get()) {
    $output .= theme('box', t('Process log'), messaging_log_format($logs));
  }
  return $output;
}