From: Eileen McNaughton Date: Sat, 8 Jan 2022 01:15:49 +0000 (+1300) Subject: Fight back against copy & paste gone wild X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=02d397754018b653a8d0337e0fd01b7058d7fcf5;p=civicrm-core.git Fight back against copy & paste gone wild --- diff --git a/CRM/Activity/BAO/ActivityAssignment.php b/CRM/Activity/BAO/ActivityAssignment.php index 86c08bd202..95dde5bc0d 100644 --- a/CRM/Activity/BAO/ActivityAssignment.php +++ b/CRM/Activity/BAO/ActivityAssignment.php @@ -20,13 +20,6 @@ */ class CRM_Activity_BAO_ActivityAssignment extends CRM_Activity_DAO_ActivityContact { - /** - * Class constructor. - */ - public function __construct() { - parent::__construct(); - } - /** * Add activity assignment. * diff --git a/CRM/Activity/BAO/ActivityTarget.php b/CRM/Activity/BAO/ActivityTarget.php index d88eafa87e..d20c3b581b 100644 --- a/CRM/Activity/BAO/ActivityTarget.php +++ b/CRM/Activity/BAO/ActivityTarget.php @@ -20,13 +20,6 @@ */ class CRM_Activity_BAO_ActivityTarget extends CRM_Activity_DAO_ActivityContact { - /** - * Class constructor. - */ - public function __construct() { - parent::__construct(); - } - /** * Add activity target. * diff --git a/CRM/Badge/BAO/Layout.php b/CRM/Badge/BAO/Layout.php index e631eb0ae3..708be57502 100644 --- a/CRM/Badge/BAO/Layout.php +++ b/CRM/Badge/BAO/Layout.php @@ -16,13 +16,6 @@ */ class CRM_Badge_BAO_Layout extends CRM_Core_DAO_PrintLabel { - /** - * Class constructor. - */ - public function __construct() { - parent::__construct(); - } - /** * Retrieve DB object based on input parameters. * diff --git a/CRM/Case/BAO/Case.php b/CRM/Case/BAO/Case.php index f28721991b..f11afa1aed 100644 --- a/CRM/Case/BAO/Case.php +++ b/CRM/Case/BAO/Case.php @@ -28,13 +28,6 @@ class CRM_Case_BAO_Case extends CRM_Case_DAO_Case { */ public static $_exportableFields = NULL; - /** - * Class constructor. - */ - public function __construct() { - parent::__construct(); - } - /** * Is CiviCase enabled? * diff --git a/CRM/Contact/BAO/Contact.php b/CRM/Contact/BAO/Contact.php index d851d6ebad..9e8aceb496 100644 --- a/CRM/Contact/BAO/Contact.php +++ b/CRM/Contact/BAO/Contact.php @@ -81,13 +81,6 @@ class CRM_Contact_BAO_Contact extends CRM_Contact_DAO_Contact implements Civi\Te */ public static $_exportableFields = NULL; - /** - * Class constructor. - */ - public function __construct() { - parent::__construct(); - } - /** * Takes an associative array and creates a contact object. * diff --git a/CRM/Contact/BAO/Group.php b/CRM/Contact/BAO/Group.php index 9a096e1ec1..2fefea28f5 100644 --- a/CRM/Contact/BAO/Group.php +++ b/CRM/Contact/BAO/Group.php @@ -18,13 +18,6 @@ use Civi\Api4\Group; */ class CRM_Contact_BAO_Group extends CRM_Contact_DAO_Group { - /** - * Class constructor. - */ - public function __construct() { - parent::__construct(); - } - /** * Retrieve DB object based on input parameters. * diff --git a/CRM/Contact/BAO/GroupContact.php b/CRM/Contact/BAO/GroupContact.php index b6219c0bad..6bae8e7fde 100644 --- a/CRM/Contact/BAO/GroupContact.php +++ b/CRM/Contact/BAO/GroupContact.php @@ -16,13 +16,6 @@ */ class CRM_Contact_BAO_GroupContact extends CRM_Contact_DAO_GroupContact { - /** - * Class constructor. - */ - public function __construct() { - parent::__construct(); - } - /** * Takes an associative array and creates a groupContact object. * diff --git a/CRM/Contact/BAO/GroupOrganization.php b/CRM/Contact/BAO/GroupOrganization.php index 371c51bf73..8bb1622aa8 100644 --- a/CRM/Contact/BAO/GroupOrganization.php +++ b/CRM/Contact/BAO/GroupOrganization.php @@ -16,13 +16,6 @@ */ class CRM_Contact_BAO_GroupOrganization extends CRM_Contact_DAO_GroupOrganization { - /** - * Class constructor. - */ - public function __construct() { - parent::__construct(); - } - /** * Takes an associative array and creates a groupOrganization object. * diff --git a/CRM/Contact/BAO/Household.php b/CRM/Contact/BAO/Household.php index c3683d4b32..217db2ad8e 100644 --- a/CRM/Contact/BAO/Household.php +++ b/CRM/Contact/BAO/Household.php @@ -16,13 +16,6 @@ */ class CRM_Contact_BAO_Household extends CRM_Contact_DAO_Contact { - /** - * Class constructor. - */ - public function __construct() { - parent::__construct(); - } - /** * Update the household with primary contact id. * diff --git a/CRM/Contact/BAO/RelationshipType.php b/CRM/Contact/BAO/RelationshipType.php index 8a12e55bb4..eb8d41583c 100644 --- a/CRM/Contact/BAO/RelationshipType.php +++ b/CRM/Contact/BAO/RelationshipType.php @@ -16,13 +16,6 @@ */ class CRM_Contact_BAO_RelationshipType extends CRM_Contact_DAO_RelationshipType implements \Civi\Test\HookInterface { - /** - * Class constructor. - */ - public function __construct() { - parent::__construct(); - } - /** * Fetch object based on array of properties. * diff --git a/CRM/Contact/BAO/SavedSearch.php b/CRM/Contact/BAO/SavedSearch.php index f430ccc84f..bc240243c8 100644 --- a/CRM/Contact/BAO/SavedSearch.php +++ b/CRM/Contact/BAO/SavedSearch.php @@ -20,13 +20,6 @@ */ class CRM_Contact_BAO_SavedSearch extends CRM_Contact_DAO_SavedSearch { - /** - * Class constructor. - */ - public function __construct() { - parent::__construct(); - } - /** * Query the db for all saved searches. * diff --git a/CRM/Contact/BAO/SubscriptionHistory.php b/CRM/Contact/BAO/SubscriptionHistory.php index 5c3485a39e..ec8a74cde3 100644 --- a/CRM/Contact/BAO/SubscriptionHistory.php +++ b/CRM/Contact/BAO/SubscriptionHistory.php @@ -20,13 +20,6 @@ */ class CRM_Contact_BAO_SubscriptionHistory extends CRM_Contact_DAO_SubscriptionHistory { - /** - * Class constructor. - */ - public function __construct() { - parent::__construct(); - } - /** * Create a new subscription history record. * diff --git a/CRM/Contribute/BAO/Contribution.php b/CRM/Contribute/BAO/Contribution.php index 8f1c8b07f0..a44d125fb6 100644 --- a/CRM/Contribute/BAO/Contribution.php +++ b/CRM/Contribute/BAO/Contribution.php @@ -76,13 +76,6 @@ class CRM_Contribute_BAO_Contribution extends CRM_Contribute_DAO_Contribution { */ public $trxn_result_code; - /** - * Class constructor. - */ - public function __construct() { - parent::__construct(); - } - /** * Takes an associative array and creates a contribution object. * diff --git a/CRM/Contribute/BAO/Premium.php b/CRM/Contribute/BAO/Premium.php index b89c6ca158..cb6b9651a6 100644 --- a/CRM/Contribute/BAO/Premium.php +++ b/CRM/Contribute/BAO/Premium.php @@ -23,13 +23,6 @@ class CRM_Contribute_BAO_Premium extends CRM_Contribute_DAO_Premium { */ private static $productInfo; - /** - * Class constructor. - */ - public function __construct() { - parent::__construct(); - } - /** * Fetch object based on array of properties. * diff --git a/CRM/Contribute/BAO/Product.php b/CRM/Contribute/BAO/Product.php index f39e4e124f..7c7f9ff164 100644 --- a/CRM/Contribute/BAO/Product.php +++ b/CRM/Contribute/BAO/Product.php @@ -22,13 +22,6 @@ class CRM_Contribute_BAO_Product extends CRM_Contribute_DAO_Product { */ public static $_defaultContributionType = NULL; - /** - * Class constructor. - */ - public function __construct() { - parent::__construct(); - } - /** * Fetch object based on array of properties. * diff --git a/CRM/Core/BAO/CustomGroup.php b/CRM/Core/BAO/CustomGroup.php index 94aa6d818b..7a8ca08a4e 100644 --- a/CRM/Core/BAO/CustomGroup.php +++ b/CRM/Core/BAO/CustomGroup.php @@ -20,13 +20,6 @@ */ class CRM_Core_BAO_CustomGroup extends CRM_Core_DAO_CustomGroup { - /** - * Class constructor. - */ - public function __construct() { - parent::__construct(); - } - /** * Takes an associative array and creates a custom group object. * diff --git a/CRM/Core/BAO/Discount.php b/CRM/Core/BAO/Discount.php index fee698c05d..553b0ea5df 100644 --- a/CRM/Core/BAO/Discount.php +++ b/CRM/Core/BAO/Discount.php @@ -16,13 +16,6 @@ */ class CRM_Core_BAO_Discount extends CRM_Core_DAO_Discount { - /** - * Class constructor. - */ - public function __construct() { - parent::__construct(); - } - /** * Delete the discount. * diff --git a/CRM/Core/BAO/Job.php b/CRM/Core/BAO/Job.php index dbb736ec96..331d5852d6 100644 --- a/CRM/Core/BAO/Job.php +++ b/CRM/Core/BAO/Job.php @@ -22,13 +22,6 @@ */ class CRM_Core_BAO_Job extends CRM_Core_DAO_Job { - /** - * Class constructor. - */ - public function __construct() { - parent::__construct(); - } - /** * Add the payment-processor type in the db * diff --git a/CRM/Core/BAO/LocationType.php b/CRM/Core/BAO/LocationType.php index 49ddc891fd..157a7d0a97 100644 --- a/CRM/Core/BAO/LocationType.php +++ b/CRM/Core/BAO/LocationType.php @@ -23,13 +23,6 @@ class CRM_Core_BAO_LocationType extends CRM_Core_DAO_LocationType implements \Ci public static $_defaultLocationType = NULL; public static $_billingLocationType = NULL; - /** - * Class constructor. - */ - public function __construct() { - parent::__construct(); - } - /** * Fetch object based on array of properties. * diff --git a/CRM/Core/BAO/MailSettings.php b/CRM/Core/BAO/MailSettings.php index 26086ea2e8..b6c3c6737e 100644 --- a/CRM/Core/BAO/MailSettings.php +++ b/CRM/Core/BAO/MailSettings.php @@ -16,13 +16,6 @@ */ class CRM_Core_BAO_MailSettings extends CRM_Core_DAO_MailSettings { - /** - * Class constructor. - */ - public function __construct() { - parent::__construct(); - } - /** * Get a list of setup-actions. * diff --git a/CRM/Core/BAO/Mapping.php b/CRM/Core/BAO/Mapping.php index c186fc6764..f4c2378f45 100644 --- a/CRM/Core/BAO/Mapping.php +++ b/CRM/Core/BAO/Mapping.php @@ -16,13 +16,6 @@ */ class CRM_Core_BAO_Mapping extends CRM_Core_DAO_Mapping implements \Civi\Test\HookInterface { - /** - * Class constructor. - */ - public function __construct() { - parent::__construct(); - } - /** * Fetch object based on array of properties. * diff --git a/CRM/Core/BAO/Navigation.php b/CRM/Core/BAO/Navigation.php index 24e58b8f10..f3f38984f4 100644 --- a/CRM/Core/BAO/Navigation.php +++ b/CRM/Core/BAO/Navigation.php @@ -19,13 +19,6 @@ class CRM_Core_BAO_Navigation extends CRM_Core_DAO_Navigation { // Number of characters in the menu js cache key const CACHE_KEY_STRLEN = 8; - /** - * Class constructor. - */ - public function __construct() { - parent::__construct(); - } - /** * Update the is_active flag in the db. * diff --git a/CRM/Core/BAO/OptionGroup.php b/CRM/Core/BAO/OptionGroup.php index 12da9c3d3f..420537a166 100644 --- a/CRM/Core/BAO/OptionGroup.php +++ b/CRM/Core/BAO/OptionGroup.php @@ -16,13 +16,6 @@ */ class CRM_Core_BAO_OptionGroup extends CRM_Core_DAO_OptionGroup implements \Civi\Test\HookInterface { - /** - * Class constructor. - */ - public function __construct() { - parent::__construct(); - } - /** * Fetch object based on array of properties. * diff --git a/CRM/Core/BAO/OptionValue.php b/CRM/Core/BAO/OptionValue.php index 69d78bf677..d0ef5019ab 100644 --- a/CRM/Core/BAO/OptionValue.php +++ b/CRM/Core/BAO/OptionValue.php @@ -16,13 +16,6 @@ */ class CRM_Core_BAO_OptionValue extends CRM_Core_DAO_OptionValue { - /** - * Class constructor. - */ - public function __construct() { - parent::__construct(); - } - /** * Create option value. * diff --git a/CRM/Core/BAO/PreferencesDate.php b/CRM/Core/BAO/PreferencesDate.php index b05bbf4a15..0ede5825b9 100644 --- a/CRM/Core/BAO/PreferencesDate.php +++ b/CRM/Core/BAO/PreferencesDate.php @@ -22,13 +22,6 @@ class CRM_Core_BAO_PreferencesDate extends CRM_Core_DAO_PreferencesDate { */ public static $_defaultPreferencesDate = NULL; - /** - * Class constructor. - */ - public function __construct() { - parent::__construct(); - } - /** * Fetch object based on array of properties. * diff --git a/CRM/Core/BAO/Tag.php b/CRM/Core/BAO/Tag.php index 8a75503da1..5ef7ec1231 100644 --- a/CRM/Core/BAO/Tag.php +++ b/CRM/Core/BAO/Tag.php @@ -21,13 +21,6 @@ class CRM_Core_BAO_Tag extends CRM_Core_DAO_Tag { */ protected $tree; - /** - * Class constructor. - */ - public function __construct() { - parent::__construct(); - } - /** * Fetch object based on array of properties. * diff --git a/CRM/Core/BAO/WordReplacement.php b/CRM/Core/BAO/WordReplacement.php index feb3d85393..15574e8339 100644 --- a/CRM/Core/BAO/WordReplacement.php +++ b/CRM/Core/BAO/WordReplacement.php @@ -20,13 +20,6 @@ */ class CRM_Core_BAO_WordReplacement extends CRM_Core_DAO_WordReplacement implements \Civi\Test\HookInterface { - /** - * Class constructor. - */ - public function __construct() { - parent::__construct(); - } - /** * Function that must have never worked & should be removed. * diff --git a/CRM/Event/BAO/Event.php b/CRM/Event/BAO/Event.php index 1e7f4f75a4..6a3fbdfa85 100644 --- a/CRM/Event/BAO/Event.php +++ b/CRM/Event/BAO/Event.php @@ -16,13 +16,6 @@ */ class CRM_Event_BAO_Event extends CRM_Event_DAO_Event { - /** - * Class constructor. - */ - public function __construct() { - parent::__construct(); - } - /** * Fetch object based on array of properties. * diff --git a/CRM/Financial/BAO/ExportFormat/CSV.php b/CRM/Financial/BAO/ExportFormat/CSV.php index 505156baca..233bffecaf 100644 --- a/CRM/Financial/BAO/ExportFormat/CSV.php +++ b/CRM/Financial/BAO/ExportFormat/CSV.php @@ -32,13 +32,6 @@ class CRM_Financial_BAO_ExportFormat_CSV extends CRM_Financial_BAO_ExportFormat 'CUST', ]; - /** - * Class constructor. - */ - public function __construct() { - parent::__construct(); - } - /** * @param array $exportParams */ diff --git a/CRM/Financial/BAO/FinancialAccount.php b/CRM/Financial/BAO/FinancialAccount.php index de3da002c7..a0d95119b0 100644 --- a/CRM/Financial/BAO/FinancialAccount.php +++ b/CRM/Financial/BAO/FinancialAccount.php @@ -16,13 +16,6 @@ */ class CRM_Financial_BAO_FinancialAccount extends CRM_Financial_DAO_FinancialAccount implements \Civi\Test\HookInterface { - /** - * Class constructor. - */ - public function __construct() { - parent::__construct(); - } - /** * Fetch object based on array of properties. * diff --git a/CRM/Financial/BAO/FinancialItem.php b/CRM/Financial/BAO/FinancialItem.php index 1deff5bf9c..15879bd854 100644 --- a/CRM/Financial/BAO/FinancialItem.php +++ b/CRM/Financial/BAO/FinancialItem.php @@ -16,13 +16,6 @@ */ class CRM_Financial_BAO_FinancialItem extends CRM_Financial_DAO_FinancialItem { - /** - * Class constructor. - */ - public function __construct() { - parent::__construct(); - } - /** * Fetch object based on array of properties. * diff --git a/CRM/Financial/BAO/FinancialType.php b/CRM/Financial/BAO/FinancialType.php index 88143c0fb6..5ac198e989 100644 --- a/CRM/Financial/BAO/FinancialType.php +++ b/CRM/Financial/BAO/FinancialType.php @@ -31,13 +31,6 @@ class CRM_Financial_BAO_FinancialType extends CRM_Financial_DAO_FinancialType im */ public static $_statusACLFt = []; - /** - * Class constructor. - */ - public function __construct() { - parent::__construct(); - } - /** * Fetch object based on array of properties. * diff --git a/CRM/Financial/BAO/FinancialTypeAccount.php b/CRM/Financial/BAO/FinancialTypeAccount.php index 248d2b4f6b..2682d11f2d 100644 --- a/CRM/Financial/BAO/FinancialTypeAccount.php +++ b/CRM/Financial/BAO/FinancialTypeAccount.php @@ -16,13 +16,6 @@ */ class CRM_Financial_BAO_FinancialTypeAccount extends CRM_Financial_DAO_EntityFinancialAccount { - /** - * Class constructor. - */ - public function __construct() { - parent::__construct(); - } - /** * Fetch object based on array of properties. * diff --git a/CRM/Financial/BAO/PaymentProcessorType.php b/CRM/Financial/BAO/PaymentProcessorType.php index 796e5cfd37..c44f71e820 100644 --- a/CRM/Financial/BAO/PaymentProcessorType.php +++ b/CRM/Financial/BAO/PaymentProcessorType.php @@ -22,13 +22,6 @@ class CRM_Financial_BAO_PaymentProcessorType extends CRM_Financial_DAO_PaymentPr */ public static $_defaultPaymentProcessorType = NULL; - /** - * Class constructor. - */ - public function __construct() { - parent::__construct(); - } - /** * Fetch object based on array of properties. * diff --git a/CRM/Mailing/BAO/Mailing.php b/CRM/Mailing/BAO/Mailing.php index 7c68125455..1a93274ccd 100644 --- a/CRM/Mailing/BAO/Mailing.php +++ b/CRM/Mailing/BAO/Mailing.php @@ -79,13 +79,6 @@ class CRM_Mailing_BAO_Mailing extends CRM_Mailing_DAO_Mailing { */ private $_domain = NULL; - /** - * Class constructor. - */ - public function __construct() { - parent::__construct(); - } - /** * @deprecated * diff --git a/CRM/Mailing/BAO/MailingAB.php b/CRM/Mailing/BAO/MailingAB.php index e035ec6962..fd1d3fe3bc 100644 --- a/CRM/Mailing/BAO/MailingAB.php +++ b/CRM/Mailing/BAO/MailingAB.php @@ -20,13 +20,6 @@ */ class CRM_Mailing_BAO_MailingAB extends CRM_Mailing_DAO_MailingAB { - /** - * class constructor. - */ - public function __construct() { - parent::__construct(); - } - /** * Construct a new mailingab object. * diff --git a/CRM/Mailing/BAO/MailingJob.php b/CRM/Mailing/BAO/MailingJob.php index cb4073a10a..079e773663 100644 --- a/CRM/Mailing/BAO/MailingJob.php +++ b/CRM/Mailing/BAO/MailingJob.php @@ -32,13 +32,6 @@ class CRM_Mailing_BAO_MailingJob extends CRM_Mailing_DAO_MailingJob { */ public static $mailsProcessed = 0; - /** - * Class constructor. - */ - public function __construct() { - parent::__construct(); - } - /** * Create mailing job. * diff --git a/CRM/Mailing/BAO/Recipients.php b/CRM/Mailing/BAO/Recipients.php index 53cf180207..b904aa952e 100644 --- a/CRM/Mailing/BAO/Recipients.php +++ b/CRM/Mailing/BAO/Recipients.php @@ -16,13 +16,6 @@ */ class CRM_Mailing_BAO_Recipients extends CRM_Mailing_DAO_Recipients { - /** - * Class constructor. - */ - public function __construct() { - parent::__construct(); - } - /** * @param int $mailingID * diff --git a/CRM/Mailing/BAO/Spool.php b/CRM/Mailing/BAO/Spool.php index bf098e48bd..dc88a6fc7a 100644 --- a/CRM/Mailing/BAO/Spool.php +++ b/CRM/Mailing/BAO/Spool.php @@ -16,13 +16,6 @@ */ class CRM_Mailing_BAO_Spool extends CRM_Mailing_DAO_Spool { - /** - * Class constructor. - */ - public function __construct() { - parent::__construct(); - } - /** * Store Mails into Spool table. * diff --git a/CRM/Mailing/BAO/TrackableURL.php b/CRM/Mailing/BAO/TrackableURL.php index 7026e718f7..f857f6eb9c 100644 --- a/CRM/Mailing/BAO/TrackableURL.php +++ b/CRM/Mailing/BAO/TrackableURL.php @@ -16,13 +16,6 @@ */ class CRM_Mailing_BAO_TrackableURL extends CRM_Mailing_DAO_TrackableURL { - /** - * Class constructor. - */ - public function __construct() { - parent::__construct(); - } - /** * Given a url, mailing id and queue event id, find or construct a * trackable url and redirect url. diff --git a/CRM/Mailing/Event/BAO/Bounce.php b/CRM/Mailing/Event/BAO/Bounce.php index 57c8c3a99b..023ca05aba 100644 --- a/CRM/Mailing/Event/BAO/Bounce.php +++ b/CRM/Mailing/Event/BAO/Bounce.php @@ -16,13 +16,6 @@ */ class CRM_Mailing_Event_BAO_Bounce extends CRM_Mailing_Event_DAO_Bounce { - /** - * Class constructor. - */ - public function __construct() { - parent::__construct(); - } - /** * Create a new bounce event, update the email address if necessary * diff --git a/CRM/Mailing/Event/BAO/Confirm.php b/CRM/Mailing/Event/BAO/Confirm.php index 15f16ab6eb..a94ecb089e 100644 --- a/CRM/Mailing/Event/BAO/Confirm.php +++ b/CRM/Mailing/Event/BAO/Confirm.php @@ -22,13 +22,6 @@ require_once 'Mail/mime.php'; */ class CRM_Mailing_Event_BAO_Confirm extends CRM_Mailing_Event_DAO_Confirm { - /** - * Class constructor. - */ - public function __construct() { - parent::__construct(); - } - /** * Confirm a pending subscription. * diff --git a/CRM/Mailing/Event/BAO/Delivered.php b/CRM/Mailing/Event/BAO/Delivered.php index 477faa61da..481a8e7cd2 100644 --- a/CRM/Mailing/Event/BAO/Delivered.php +++ b/CRM/Mailing/Event/BAO/Delivered.php @@ -16,13 +16,6 @@ */ class CRM_Mailing_Event_BAO_Delivered extends CRM_Mailing_Event_DAO_Delivered { - /** - * Class constructor. - */ - public function __construct() { - parent::__construct(); - } - /** * Create a new delivery event. * diff --git a/CRM/Mailing/Event/BAO/Forward.php b/CRM/Mailing/Event/BAO/Forward.php index b8900a6b9a..3e10a49cb9 100644 --- a/CRM/Mailing/Event/BAO/Forward.php +++ b/CRM/Mailing/Event/BAO/Forward.php @@ -16,13 +16,6 @@ */ class CRM_Mailing_Event_BAO_Forward extends CRM_Mailing_Event_DAO_Forward { - /** - * Class constructor. - */ - public function __construct() { - parent::__construct(); - } - /** * Create a new forward event, create a new contact if necessary * diff --git a/CRM/Mailing/Event/BAO/Opened.php b/CRM/Mailing/Event/BAO/Opened.php index 1ecc078839..491fd19556 100644 --- a/CRM/Mailing/Event/BAO/Opened.php +++ b/CRM/Mailing/Event/BAO/Opened.php @@ -16,13 +16,6 @@ */ class CRM_Mailing_Event_BAO_Opened extends CRM_Mailing_Event_DAO_Opened { - /** - * Class constructor. - */ - public function __construct() { - parent::__construct(); - } - /** * Register an open event. * diff --git a/CRM/Mailing/Event/BAO/Queue.php b/CRM/Mailing/Event/BAO/Queue.php index 3f27463f47..7b09748324 100644 --- a/CRM/Mailing/Event/BAO/Queue.php +++ b/CRM/Mailing/Event/BAO/Queue.php @@ -16,13 +16,6 @@ */ class CRM_Mailing_Event_BAO_Queue extends CRM_Mailing_Event_DAO_Queue { - /** - * Class constructor. - */ - public function __construct() { - parent::__construct(); - } - /** * Queue a new recipient. * diff --git a/CRM/Mailing/Event/BAO/Reply.php b/CRM/Mailing/Event/BAO/Reply.php index d618b20143..4a3182e1d3 100644 --- a/CRM/Mailing/Event/BAO/Reply.php +++ b/CRM/Mailing/Event/BAO/Reply.php @@ -22,13 +22,6 @@ require_once 'Mail/mime.php'; */ class CRM_Mailing_Event_BAO_Reply extends CRM_Mailing_Event_DAO_Reply { - /** - * Class constructor. - */ - public function __construct() { - parent::__construct(); - } - /** * Register a reply event. * diff --git a/CRM/Mailing/Event/BAO/Subscribe.php b/CRM/Mailing/Event/BAO/Subscribe.php index b02455d0cb..1b09e59965 100644 --- a/CRM/Mailing/Event/BAO/Subscribe.php +++ b/CRM/Mailing/Event/BAO/Subscribe.php @@ -23,13 +23,6 @@ require_once 'Mail/mime.php'; */ class CRM_Mailing_Event_BAO_Subscribe extends CRM_Mailing_Event_DAO_Subscribe { - /** - * Class constructor. - */ - public function __construct() { - parent::__construct(); - } - /** * Register a subscription event. Create a new contact if one does not * already exist. diff --git a/CRM/Mailing/Event/BAO/TrackableURLOpen.php b/CRM/Mailing/Event/BAO/TrackableURLOpen.php index 530fa1ece3..cc127b462d 100644 --- a/CRM/Mailing/Event/BAO/TrackableURLOpen.php +++ b/CRM/Mailing/Event/BAO/TrackableURLOpen.php @@ -16,13 +16,6 @@ */ class CRM_Mailing_Event_BAO_TrackableURLOpen extends CRM_Mailing_Event_DAO_TrackableURLOpen { - /** - * Class constructor. - */ - public function __construct() { - parent::__construct(); - } - /** * Track a click-through and return the URL to redirect. * diff --git a/CRM/Mailing/Event/BAO/Unsubscribe.php b/CRM/Mailing/Event/BAO/Unsubscribe.php index d1349a664c..4e6b216d91 100644 --- a/CRM/Mailing/Event/BAO/Unsubscribe.php +++ b/CRM/Mailing/Event/BAO/Unsubscribe.php @@ -22,13 +22,6 @@ require_once 'Mail/mime.php'; */ class CRM_Mailing_Event_BAO_Unsubscribe extends CRM_Mailing_Event_DAO_Unsubscribe { - /** - * Class constructor. - */ - public function __construct() { - parent::__construct(); - } - /** * Unsubscribe a contact from the domain. * diff --git a/CRM/Member/BAO/Membership.php b/CRM/Member/BAO/Membership.php index 3a04e646c9..b6aba09135 100644 --- a/CRM/Member/BAO/Membership.php +++ b/CRM/Member/BAO/Membership.php @@ -30,13 +30,6 @@ class CRM_Member_BAO_Membership extends CRM_Member_DAO_Membership { public static $_signupActType = NULL; - /** - * Class constructor. - */ - public function __construct() { - parent::__construct(); - } - /** * Takes an associative array and creates a membership object. * diff --git a/CRM/Member/BAO/MembershipBlock.php b/CRM/Member/BAO/MembershipBlock.php index 6c5dfdc931..08458deee8 100644 --- a/CRM/Member/BAO/MembershipBlock.php +++ b/CRM/Member/BAO/MembershipBlock.php @@ -16,13 +16,6 @@ */ class CRM_Member_BAO_MembershipBlock extends CRM_Member_DAO_MembershipBlock { - /** - * Class constructor. - */ - public function __construct() { - parent::__construct(); - } - /** * Create or update a MembershipBlock. * diff --git a/CRM/Member/BAO/MembershipPayment.php b/CRM/Member/BAO/MembershipPayment.php index e19b1fdbf2..a87adb5f43 100644 --- a/CRM/Member/BAO/MembershipPayment.php +++ b/CRM/Member/BAO/MembershipPayment.php @@ -16,13 +16,6 @@ */ class CRM_Member_BAO_MembershipPayment extends CRM_Member_DAO_MembershipPayment { - /** - * Class constructor. - */ - public function __construct() { - parent::__construct(); - } - /** * Add the membership Payments. * diff --git a/CRM/Member/BAO/MembershipType.php b/CRM/Member/BAO/MembershipType.php index 2093eea878..1ed58d28da 100644 --- a/CRM/Member/BAO/MembershipType.php +++ b/CRM/Member/BAO/MembershipType.php @@ -24,13 +24,6 @@ class CRM_Member_BAO_MembershipType extends CRM_Member_DAO_MembershipType implem public static $_membershipTypeInfo = []; - /** - * Class constructor. - */ - public function __construct() { - parent::__construct(); - } - /** * Fetch object based on array of properties. * diff --git a/CRM/PCP/BAO/PCP.php b/CRM/PCP/BAO/PCP.php index 3cd88f0a4c..cf0fec4227 100644 --- a/CRM/PCP/BAO/PCP.php +++ b/CRM/PCP/BAO/PCP.php @@ -23,13 +23,6 @@ class CRM_PCP_BAO_PCP extends CRM_PCP_DAO_PCP { */ public static $_pcpLinks = NULL; - /** - * Class constructor. - */ - public function __construct() { - parent::__construct(); - } - /** * Add or update either a Personal Campaign Page OR a PCP Block. * diff --git a/CRM/Pledge/BAO/Pledge.php b/CRM/Pledge/BAO/Pledge.php index 06412eda4c..fec21c8360 100644 --- a/CRM/Pledge/BAO/Pledge.php +++ b/CRM/Pledge/BAO/Pledge.php @@ -23,13 +23,6 @@ class CRM_Pledge_BAO_Pledge extends CRM_Pledge_DAO_Pledge { */ public static $_exportableFields = NULL; - /** - * Class constructor. - */ - public function __construct() { - parent::__construct(); - } - /** * Retrieve DB object based on input parameters. * diff --git a/CRM/Pledge/BAO/PledgeBlock.php b/CRM/Pledge/BAO/PledgeBlock.php index 68304860c2..55d0f4c7f4 100644 --- a/CRM/Pledge/BAO/PledgeBlock.php +++ b/CRM/Pledge/BAO/PledgeBlock.php @@ -16,13 +16,6 @@ */ class CRM_Pledge_BAO_PledgeBlock extends CRM_Pledge_DAO_PledgeBlock { - /** - * Class constructor. - */ - public function __construct() { - parent::__construct(); - } - /** * Retrieve DB object based on input parameters. * diff --git a/CRM/Pledge/BAO/PledgePayment.php b/CRM/Pledge/BAO/PledgePayment.php index e48e2788a4..ee063dd3aa 100644 --- a/CRM/Pledge/BAO/PledgePayment.php +++ b/CRM/Pledge/BAO/PledgePayment.php @@ -16,13 +16,6 @@ */ class CRM_Pledge_BAO_PledgePayment extends CRM_Pledge_DAO_PledgePayment { - /** - * Class constructor. - */ - public function __construct() { - parent::__construct(); - } - /** * Get pledge payment details. * diff --git a/CRM/Price/BAO/PriceSet.php b/CRM/Price/BAO/PriceSet.php index d8bed03718..2070e2c936 100644 --- a/CRM/Price/BAO/PriceSet.php +++ b/CRM/Price/BAO/PriceSet.php @@ -28,13 +28,6 @@ class CRM_Price_BAO_PriceSet extends CRM_Price_DAO_PriceSet { */ public static $_defaultPriceSet = NULL; - /** - * Class constructor. - */ - public function __construct() { - parent::__construct(); - } - /** * Takes an associative array and creates a price set object. * diff --git a/CRM/SMS/BAO/Provider.php b/CRM/SMS/BAO/Provider.php index b2c2e45e22..b51398eea6 100644 --- a/CRM/SMS/BAO/Provider.php +++ b/CRM/SMS/BAO/Provider.php @@ -16,13 +16,6 @@ */ class CRM_SMS_BAO_Provider extends CRM_SMS_DAO_Provider { - /** - * Class constructor. - */ - public function __construct() { - parent::__construct(); - } - /** * @return null|string */ diff --git a/ext/eventcart/CRM/Event/Cart/BAO/EventInCart.php b/ext/eventcart/CRM/Event/Cart/BAO/EventInCart.php index abb9bb4ce6..82c144e118 100644 --- a/ext/eventcart/CRM/Event/Cart/BAO/EventInCart.php +++ b/ext/eventcart/CRM/Event/Cart/BAO/EventInCart.php @@ -10,13 +10,6 @@ class CRM_Event_Cart_BAO_EventInCart extends CRM_Event_Cart_DAO_EventInCart impl public $location = NULL; public $participants = []; - /** - * Class constructor. - */ - public function __construct() { - parent::__construct(); - } - /** * Add participant to cart. *