From 0fc59d7a3a4ca8447e8f228c360021c2e2b1f9dc Mon Sep 17 00:00:00 2001 From: DemeritCowboy Date: Tue, 2 Jul 2019 10:09:21 -0400 Subject: [PATCH] fix wrong spelling of classname --- CRM/Mailing/Event/BAO/Bounce.php | 2 +- CRM/Mailing/Event/BAO/Delivered.php | 4 ++-- CRM/Mailing/Event/BAO/Forward.php | 4 ++-- CRM/Mailing/Event/BAO/Opened.php | 2 +- CRM/Mailing/Event/BAO/Queue.php | 2 +- CRM/Mailing/Event/BAO/Reply.php | 2 +- CRM/Mailing/Event/BAO/TrackableURLOpen.php | 2 +- CRM/Mailing/Event/BAO/Unsubscribe.php | 2 +- 8 files changed, 10 insertions(+), 10 deletions(-) diff --git a/CRM/Mailing/Event/BAO/Bounce.php b/CRM/Mailing/Event/BAO/Bounce.php index 9a162c83de..1f3c8ba8c2 100644 --- a/CRM/Mailing/Event/BAO/Bounce.php +++ b/CRM/Mailing/Event/BAO/Bounce.php @@ -180,7 +180,7 @@ class CRM_Mailing_Event_BAO_Bounce extends CRM_Mailing_Event_DAO_Bounce { $is_distinct = FALSE, $offset = NULL, $rowCount = NULL, $sort = NULL ) { - $dao = new CRM_Core_Dao(); + $dao = new CRM_Core_DAO(); $bounce = self::getTableName(); $bounceType = CRM_Mailing_DAO_BounceType::getTableName(); diff --git a/CRM/Mailing/Event/BAO/Delivered.php b/CRM/Mailing/Event/BAO/Delivered.php index e8c9a4cc19..237f3a27fc 100644 --- a/CRM/Mailing/Event/BAO/Delivered.php +++ b/CRM/Mailing/Event/BAO/Delivered.php @@ -163,7 +163,7 @@ class CRM_Mailing_Event_BAO_Delivered extends CRM_Mailing_Event_DAO_Delivered { $is_distinct = FALSE, $offset = NULL, $rowCount = NULL, $sort = NULL, $is_test = 0 ) { - $dao = new CRM_Core_Dao(); + $dao = new CRM_Core_DAO(); $delivered = self::getTableName(); $bounce = CRM_Mailing_Event_BAO_Bounce::getTableName(); @@ -280,7 +280,7 @@ class CRM_Mailing_Event_BAO_Delivered extends CRM_Mailing_Event_DAO_Delivered { * Consider mailings that were completed not more than $maxDays ago. */ public static function updateEmailResetDate($minDays = 3, $maxDays = 7) { - $dao = new CRM_Core_Dao(); + $dao = new CRM_Core_DAO(); $query = " CREATE TEMPORARY TABLE civicrm_email_temp_values ( diff --git a/CRM/Mailing/Event/BAO/Forward.php b/CRM/Mailing/Event/BAO/Forward.php index 8d8532ea8d..4c79b03db4 100644 --- a/CRM/Mailing/Event/BAO/Forward.php +++ b/CRM/Mailing/Event/BAO/Forward.php @@ -72,7 +72,7 @@ class CRM_Mailing_Event_BAO_Forward extends CRM_Mailing_Event_DAO_Forward { $domain = CRM_Core_BAO_Domain::getDomain(); - $dao = new CRM_Core_Dao(); + $dao = new CRM_Core_DAO(); $dao->query(" SELECT $contact.id as contact_id, $email.id as email_id, @@ -298,7 +298,7 @@ class CRM_Mailing_Event_BAO_Forward extends CRM_Mailing_Event_DAO_Forward { $is_distinct = FALSE, $offset = NULL, $rowCount = NULL, $sort = NULL ) { - $dao = new CRM_Core_Dao(); + $dao = new CRM_Core_DAO(); $forward = self::getTableName(); $queue = CRM_Mailing_Event_BAO_Queue::getTableName(); diff --git a/CRM/Mailing/Event/BAO/Opened.php b/CRM/Mailing/Event/BAO/Opened.php index a2a1e01b30..9188dadaa2 100644 --- a/CRM/Mailing/Event/BAO/Opened.php +++ b/CRM/Mailing/Event/BAO/Opened.php @@ -232,7 +232,7 @@ class CRM_Mailing_Event_BAO_Opened extends CRM_Mailing_Event_DAO_Opened { $mailing_id, $job_id = NULL, $is_distinct = FALSE, $offset = NULL, $rowCount = NULL, $sort = NULL, $contact_id = NULL ) { - $dao = new CRM_Core_Dao(); + $dao = new CRM_Core_DAO(); $open = self::getTableName(); $queue = CRM_Mailing_Event_BAO_Queue::getTableName(); diff --git a/CRM/Mailing/Event/BAO/Queue.php b/CRM/Mailing/Event/BAO/Queue.php index 41cefaf8ee..59e979f080 100644 --- a/CRM/Mailing/Event/BAO/Queue.php +++ b/CRM/Mailing/Event/BAO/Queue.php @@ -186,7 +186,7 @@ class CRM_Mailing_Event_BAO_Queue extends CRM_Mailing_Event_DAO_Queue { $mailing_id, $job_id = NULL, $offset = NULL, $rowCount = NULL, $sort = NULL ) { - $dao = new CRM_Core_Dao(); + $dao = new CRM_Core_DAO(); $queue = self::getTableName(); $mailing = CRM_Mailing_BAO_Mailing::getTableName(); diff --git a/CRM/Mailing/Event/BAO/Reply.php b/CRM/Mailing/Event/BAO/Reply.php index 03a54c9431..f02d1ffe60 100644 --- a/CRM/Mailing/Event/BAO/Reply.php +++ b/CRM/Mailing/Event/BAO/Reply.php @@ -371,7 +371,7 @@ class CRM_Mailing_Event_BAO_Reply extends CRM_Mailing_Event_DAO_Reply { $is_distinct = FALSE, $offset = NULL, $rowCount = NULL, $sort = NULL ) { - $dao = new CRM_Core_Dao(); + $dao = new CRM_Core_DAO(); $reply = self::getTableName(); $queue = CRM_Mailing_Event_BAO_Queue::getTableName(); diff --git a/CRM/Mailing/Event/BAO/TrackableURLOpen.php b/CRM/Mailing/Event/BAO/TrackableURLOpen.php index 29a907d29a..7237c7390f 100644 --- a/CRM/Mailing/Event/BAO/TrackableURLOpen.php +++ b/CRM/Mailing/Event/BAO/TrackableURLOpen.php @@ -292,7 +292,7 @@ class CRM_Mailing_Event_BAO_TrackableURLOpen extends CRM_Mailing_Event_DAO_Track $offset = NULL, $rowCount = NULL, $sort = NULL, $contact_id = NULL ) { - $dao = new CRM_Core_Dao(); + $dao = new CRM_Core_DAO(); $click = self::getTableName(); $url = CRM_Mailing_BAO_TrackableURL::getTableName(); diff --git a/CRM/Mailing/Event/BAO/Unsubscribe.php b/CRM/Mailing/Event/BAO/Unsubscribe.php index 415ae85350..f6c4771e28 100644 --- a/CRM/Mailing/Event/BAO/Unsubscribe.php +++ b/CRM/Mailing/Event/BAO/Unsubscribe.php @@ -532,7 +532,7 @@ WHERE email = %2 $org_unsubscribe = NULL ) { - $dao = new CRM_Core_Dao(); + $dao = new CRM_Core_DAO(); $unsub = self::$_tableName; $queueObject = new CRM_Mailing_Event_BAO_Queue(); -- 2.25.1