From da837daedf9acc18229afeb5f9236c177642dc3e Mon Sep 17 00:00:00 2001 From: Jimmy Huang Date: Wed, 25 Sep 2024 10:11:25 +0800 Subject: [PATCH] refs #41568, remove unuse or mis-typed properties --- CRM/Admin/Form/PaymentProcessor.php | 3 ++- CRM/Contribute/Form/ContributionBase.php | 1 - CRM/Event/Form/Registration/Register.php | 1 - CRM/Group/Controller.php | 2 -- CRM/Profile/Form/Edit.php | 1 - CRM/Report/Form/Member/Summary.php | 2 +- 6 files changed, 3 insertions(+), 7 deletions(-) diff --git a/CRM/Admin/Form/PaymentProcessor.php b/CRM/Admin/Form/PaymentProcessor.php index f8a1737f3..6ea2ef237 100644 --- a/CRM/Admin/Form/PaymentProcessor.php +++ b/CRM/Admin/Form/PaymentProcessor.php @@ -40,7 +40,8 @@ * */ class CRM_Admin_Form_PaymentProcessor extends CRM_Admin_Form { - public $_ppType; + protected $_ppType = NULL; + protected $_id = NULL; protected $_testID = NULL; diff --git a/CRM/Contribute/Form/ContributionBase.php b/CRM/Contribute/Form/ContributionBase.php index 2fc7962ae..69bcd629b 100644 --- a/CRM/Contribute/Form/ContributionBase.php +++ b/CRM/Contribute/Form/ContributionBase.php @@ -48,7 +48,6 @@ class CRM_Contribute_Form_ContributionBase extends CRM_Core_Form { public $_defaultMemTypeId; public $_paymentProcessors; public $_contributeMode; - public $_ppType; public $_defaultFromRequest; /** * the id of the contribution page that we are proceessing diff --git a/CRM/Event/Form/Registration/Register.php b/CRM/Event/Form/Registration/Register.php index 423174eac..4e262af17 100644 --- a/CRM/Event/Form/Registration/Register.php +++ b/CRM/Event/Form/Registration/Register.php @@ -72,7 +72,6 @@ class CRM_Event_Form_Registration_Register extends CRM_Event_Form_Registration { * The status message that user view. * */ - protected $_waitlistMsg = NULL; protected $_requireApprovalMsg = NULL; protected $_ppType; diff --git a/CRM/Group/Controller.php b/CRM/Group/Controller.php index 918aaa4a1..0f2fb01e6 100644 --- a/CRM/Group/Controller.php +++ b/CRM/Group/Controller.php @@ -35,8 +35,6 @@ class CRM_Group_Controller extends CRM_Core_Controller { - - public $_pages; /** * class constructor */ diff --git a/CRM/Profile/Form/Edit.php b/CRM/Profile/Form/Edit.php index b8cc313db..8cc60aee2 100644 --- a/CRM/Profile/Form/Edit.php +++ b/CRM/Profile/Form/Edit.php @@ -44,7 +44,6 @@ * */ class CRM_Profile_Form_Edit extends CRM_Profile_Form { - public $_errors; protected $_postURL = NULL; protected $_cancelURL = NULL; protected $_errorURL = NULL; diff --git a/CRM/Report/Form/Member/Summary.php b/CRM/Report/Form/Member/Summary.php index 7411fa9b9..0cb951f48 100644 --- a/CRM/Report/Form/Member/Summary.php +++ b/CRM/Report/Form/Member/Summary.php @@ -49,8 +49,8 @@ class CRM_Report_Form_Member_Summary extends CRM_Report_Form { public $_groupBy; public $_aliases; public $_absoluteUrl; + public $_interval = NULL; protected $_summary = NULL; - protected $_interval = NULL; protected $_charts = array('' => 'Tabular', 'barChart' => 'Bar Chart', 'pieChart' => 'Pie Chart',