function notifications_admin_queue in Notifications 6
Same name and namespace in other branches
- 5 notifications.admin.inc \notifications_admin_queue()
- 6.2 notifications.admin.inc \notifications_admin_queue()
- 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 345
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 (!empty($_SESSION['notifications_logs'])) {
$output .= theme('box', t('Process log'), theme('item_list', $_SESSION['notifications_logs']));
unset($_SESSION['notifications_logs']);
}
return $output;
}