From 0feefbc7c3aceadf6205319d095f52250e38e552 Mon Sep 17 00:00:00 2001 From: Chris Burgess Date: Wed, 28 Sep 2016 14:32:18 +1300 Subject: [PATCH] CRM-19422. Correct exception from job.group_rebuild --- api/v3/Job.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/v3/Job.php b/api/v3/Job.php index e859cf55f5..9b9696ecfd 100644 --- a/api/v3/Job.php +++ b/api/v3/Job.php @@ -634,7 +634,7 @@ function civicrm_api3_job_disable_expired_relationships($params) { function civicrm_api3_job_group_rebuild($params) { $lock = Civi::lockManager()->acquire('worker.core.GroupRebuild'); if (!$lock->isAcquired()) { - throw new API_Exception('Could not acquire lock, another EmailProcessor process is running'); + throw new API_Exception('Could not acquire lock, another GroupRebuild process is running'); } $limit = CRM_Utils_Array::value('limit', $params, 0); -- 2.25.1