Cleanup references to old dedupe class names
[civicrm-core.git] / CRM / Contact / BAO / Contact / Utils.php
index 05a701ec8adf5f763efc38f934d98c12001af804..70655e2ba1b37f404d7aa1b53d92185dc331035d 100644 (file)
@@ -600,7 +600,7 @@ LEFT JOIN  civicrm_email ce ON ( ce.contact_id=c.id AND ce.is_primary = 1 )
         }
       }
       if (!empty($originalId) && array_key_exists('merge', $hasPermissions)) {
-        $rgBao = new CRM_Dedupe_BAO_RuleGroup();
+        $rgBao = new CRM_Dedupe_BAO_DedupeRuleGroup();
         $rgBao->contact_type = $dao->contact_type;
         $rgBao->used = 'Supervised';
         if ($rgBao->find(TRUE)) {