diff --git a/CRM/Admin/Page/Job.php b/CRM/Admin/Page/Job.php index 9d785c876bfa..f2eed5d69c93 100644 --- a/CRM/Admin/Page/Job.php +++ b/CRM/Admin/Page/Job.php @@ -136,10 +136,8 @@ public function run() { /** * Browse all jobs. - * - * @param null $action */ - public function browse($action = NULL) { + public function browse() { // check if non-prod mode is enabled. if (CRM_Core_Config::environment() != 'Production') { CRM_Core_Session::setStatus(ts('Execution of scheduled jobs has been turned off by default since this is a non-production environment. You can override this for particular jobs by adding runInNonProductionEnvironment=TRUE as a parameter.'), ts("Non-production Environment"), "warning", array('expires' => 0)); diff --git a/CRM/Admin/Page/JobLog.php b/CRM/Admin/Page/JobLog.php index 81997a67d7c9..6f23cf0857c6 100644 --- a/CRM/Admin/Page/JobLog.php +++ b/CRM/Admin/Page/JobLog.php @@ -71,11 +71,8 @@ public function run() { /** * Browse all jobs. - * - * @param null $action */ - public function browse($action = NULL) { - + public function browse() { $jid = CRM_Utils_Request::retrieve('jid', 'Positive', $this); $sj = new CRM_Core_JobManager();