<?php
-
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.5 |
+ | CiviCRM version 4.6 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2014 |
+--------------------------------------------------------------------+
| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
-*/
+ */
/**
* This file hard-codes the path entries for the queueing UI, which
class CRM_Queue_Menu {
/**
- * @param $path
- * @param $menuPath
+ * @param string $path
+ * The path for which we are trying to locate the route.
+ * @param array $menuPath
+ * The route.
*/
- static function alter($path, &$menuPath) {
+ public static function alter($path, &$menuPath) {
switch ($path) {
case 'civicrm/queue/runner':
case 'civicrm/upgrade/queue/runner':
// unrecognized
}
}
-}
+}