projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a60c0bc
)
CRM-19422. Correct exception from job.group_rebuild
author
Chris Burgess
<chris@giantrobot.co.nz>
Wed, 28 Sep 2016 01:32:18 +0000
(14:32 +1300)
committer
Chris Burgess
<chris@giantrobot.co.nz>
Wed, 28 Sep 2016 01:32:18 +0000
(14:32 +1300)
api/v3/Job.php
patch
|
blob
|
blame
|
history
diff --git
a/api/v3/Job.php
b/api/v3/Job.php
index e859cf55f515c8b092d581b4b504b7bc84033110..9b9696ecfdc6732be6d503e0eaccd49c19b143e0 100644
(file)
--- 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);