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:
e2e8558
)
CRM-13447 (closes) include domain_id in job load criteria
author
Eileen
<eileen@fuzion.co.nz>
Tue, 24 Sep 2013 22:54:42 +0000
(10:54 +1200)
committer
Eileen
<eileen@fuzion.co.nz>
Tue, 24 Sep 2013 22:54:42 +0000
(10:54 +1200)
----------------------------------------
* CRM-13447: Scheduled jobs should only run for relevant domain (they are stored by domain_id but don't always respect it)
http://issues.civicrm.org/jira/browse/CRM-13447
CRM/Core/JobManager.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Core/JobManager.php
b/CRM/Core/JobManager.php
index df490715a118bd3bbbdc5488df03f584295f188c..5a64877e1e5ce03a7aef5bb2532d82947e501c1f 100644
(file)
--- a/
CRM/Core/JobManager.php
+++ b/
CRM/Core/JobManager.php
@@
-151,6
+151,7
@@
class CRM_Core_JobManager {
$jobs = array();
$dao = new CRM_Core_DAO_Job();
$dao->orderBy('name');
+ $dao->domain_id = CRM_Core_Config::domainID();
$dao->find();
while ($dao->fetch()) {
$temp = array();