dev/core#4302 Revert "Remove old deprecated class aliases"
authorcolemanw <coleman@civicrm.org>
Fri, 19 May 2023 13:25:25 +0000 (09:25 -0400)
committercolemanw <coleman@civicrm.org>
Fri, 19 May 2023 13:30:10 +0000 (09:30 -0400)
This reverts the file deletions from f687b5a4eed2b67411a873c3346487bd5599497
as the files were still in use by some extensions.

CRM/ACL/BAO/EntityRole.php [new file with mode: 0644]
CRM/Dedupe/BAO/Exception.php [new file with mode: 0644]
CRM/Dedupe/BAO/Rule.php [new file with mode: 0644]
CRM/Dedupe/BAO/RuleGroup.php [new file with mode: 0644]
CRM/Mailing/BAO/Component.php [new file with mode: 0644]

diff --git a/CRM/ACL/BAO/EntityRole.php b/CRM/ACL/BAO/EntityRole.php
new file mode 100644 (file)
index 0000000..3bacbf7
--- /dev/null
@@ -0,0 +1,23 @@
+<?php
+/*
+ +--------------------------------------------------------------------+
+ | Copyright CiviCRM LLC. All rights reserved.                        |
+ |                                                                    |
+ | This work is published under the GNU AGPLv3 license with some      |
+ | permitted exceptions and without any warranty. For full license    |
+ | and copyright information, see https://civicrm.org/licensing       |
+ +--------------------------------------------------------------------+
+ */
+
+/**
+ *
+ * @package CRM
+ * @copyright CiviCRM LLC https://civicrm.org/licensing
+ */
+
+/**
+ *  Access Control EntityRole.
+ *
+ * @deprecated
+ */
+class CRM_ACL_BAO_EntityRole extends CRM_ACL_BAO_ACLEntityRole {}
diff --git a/CRM/Dedupe/BAO/Exception.php b/CRM/Dedupe/BAO/Exception.php
new file mode 100644 (file)
index 0000000..e3777e7
--- /dev/null
@@ -0,0 +1,21 @@
+<?php
+/*
+ +--------------------------------------------------------------------+
+ | Copyright CiviCRM LLC. All rights reserved.                        |
+ |                                                                    |
+ | This work is published under the GNU AGPLv3 license with some      |
+ | permitted exceptions and without any warranty. For full license    |
+ | and copyright information, see https://civicrm.org/licensing       |
+ +--------------------------------------------------------------------+
+ */
+
+/**
+ *
+ * @package CRM
+ * @copyright CiviCRM LLC https://civicrm.org/licensing
+ */
+
+/**
+ * Manages dedupe exceptions - ie pairs marked as non-duplicates.
+ */
+class CRM_Dedupe_BAO_Exception extends CRM_Dedupe_BAO_DedupeException {}
diff --git a/CRM/Dedupe/BAO/Rule.php b/CRM/Dedupe/BAO/Rule.php
new file mode 100644 (file)
index 0000000..0e4d31f
--- /dev/null
@@ -0,0 +1,22 @@
+<?php
+/*
+ +--------------------------------------------------------------------+
+ | Copyright CiviCRM LLC. All rights reserved.                        |
+ |                                                                    |
+ | This work is published under the GNU AGPLv3 license with some      |
+ | permitted exceptions and without any warranty. For full license    |
+ | and copyright information, see https://civicrm.org/licensing       |
+ +--------------------------------------------------------------------+
+ */
+
+/**
+ *
+ * @package CRM
+ * @copyright CiviCRM LLC https://civicrm.org/licensing
+ */
+
+/**
+ * The CiviCRM duplicate discovery engine is based on an
+ * algorithm designed by David Strauss <david@fourkitchens.com>.
+ */
+class CRM_Dedupe_BAO_Rule extends CRM_Dedupe_BAO_DedupeRule {}
diff --git a/CRM/Dedupe/BAO/RuleGroup.php b/CRM/Dedupe/BAO/RuleGroup.php
new file mode 100644 (file)
index 0000000..1b70dcb
--- /dev/null
@@ -0,0 +1,22 @@
+<?php
+/*
+ +--------------------------------------------------------------------+
+ | Copyright CiviCRM LLC. All rights reserved.                        |
+ |                                                                    |
+ | This work is published under the GNU AGPLv3 license with some      |
+ | permitted exceptions and without any warranty. For full license    |
+ | and copyright information, see https://civicrm.org/licensing       |
+ +--------------------------------------------------------------------+
+ */
+
+/**
+ *
+ * @package CRM
+ * @copyright CiviCRM LLC https://civicrm.org/licensing
+ */
+
+/**
+ * The CiviCRM duplicate discovery engine is based on an
+ * algorithm designed by David Strauss <david@fourkitchens.com>.
+ */
+class CRM_Dedupe_BAO_RuleGroup extends CRM_Dedupe_BAO_DedupeRuleGroup {}
diff --git a/CRM/Mailing/BAO/Component.php b/CRM/Mailing/BAO/Component.php
new file mode 100644 (file)
index 0000000..5eee008
--- /dev/null
@@ -0,0 +1,10 @@
+<?php
+
+/**
+ * @deprecated copy of renamed class.
+ * @package CRM
+ * @copyright CiviCRM LLC https://civicrm.org/licensing
+ */
+class CRM_Mailing_BAO_Component extends CRM_Mailing_BAO_MailingComponent {
+
+}