From 2f7a6dd79ba8ab003b40edbf7e3ddee75378f618 Mon Sep 17 00:00:00 2001 From: Eileen Date: Wed, 25 Sep 2013 10:54:42 +1200 Subject: [PATCH] CRM-13447 (closes) include domain_id in job load criteria ---------------------------------------- * 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 | 1 + 1 file changed, 1 insertion(+) diff --git a/CRM/Core/JobManager.php b/CRM/Core/JobManager.php index df490715a1..5a64877e1e 100644 --- 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(); -- 2.25.1