province abbreviation patch - issue 724
[civicrm-core.git] / CRM / Queue / Menu.php
index 443b9d7b7f358438f4e9644d5172b4a1b4e61dcc..c33e0e11e9b405e51fd00535ea78178f11d12f99 100644 (file)
@@ -15,8 +15,6 @@
  *
  * @package CRM
  * @copyright CiviCRM LLC https://civicrm.org/licensing
- * $Id$
- *
  */
 
 require_once 'CRM/Core/I18n.php';
@@ -67,6 +65,15 @@ class CRM_Queue_Menu {
         $menuPath['access_callback'] = ['CRM_Core_Permission', 'checkMenu'];
         break;
 
+      case 'civicrm/queue/monitor':
+        // Not supported: case 'civicrm/upgrade/queue/monitor':
+        $menuPath['path'] = $path;
+        $menuPath['title'] = 'Queue Monitor';
+        $menuPath['page_callback'] = 'CRM_Queue_Page_Monitor';
+        $menuPath['access_arguments'][0][] = 'access CiviCRM';
+        $menuPath['access_callback'] = ['CRM_Core_Permission', 'checkMenu'];
+        break;
+
       default:
         // unrecognized
     }