From c8881afb8c9973a27e206296e8eceddae8f33855 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Tue, 27 Jan 2015 12:59:28 +1300 Subject: [PATCH] style fixes --- CRM/Member/BAO/MembershipType.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CRM/Member/BAO/MembershipType.php b/CRM/Member/BAO/MembershipType.php index 84df6f4eb3..1f7db964d5 100644 --- a/CRM/Member/BAO/MembershipType.php +++ b/CRM/Member/BAO/MembershipType.php @@ -136,7 +136,7 @@ class CRM_Member_BAO_MembershipType extends CRM_Member_DAO_MembershipType { * Flush anywhere that membership types might be cached * @throws \CiviCRM_API3_Exception */ - static function flush() { + public static function flush() { CRM_Member_PseudoConstant::membershipType(NULL, TRUE); civicrm_api3('membership', 'getfields', array('cache_clear' => 1, 'fieldname' => 'membership_type_id')); civicrm_api3('profile', 'getfields', array('action' => 'submit', 'cache_clear' => 1)); @@ -463,7 +463,7 @@ class CRM_Member_BAO_MembershipType extends CRM_Member_DAO_MembershipType { } $membershipDates = array( - 'start_date' => CRM_Utils_Date::customFormat($startDate, '%Y%m%d'), + 'start_date' => CRM_Utils_Date::customFormat($startDate, '%Y%m%d'), 'end_date' => CRM_Utils_Date::customFormat($endDate, '%Y%m%d'), 'join_date' => CRM_Utils_Date::customFormat($joinDate, '%Y%m%d'), ); -- 2.25.1