From 1e1ed556e29f820a3834d8b1d45e979bca8c720f Mon Sep 17 00:00:00 2001 From: eileen Date: Tue, 24 Jan 2017 12:39:10 +1300 Subject: [PATCH] Fix visibility on legacy functions --- CRM/Upgrade/Snapshot/V4p2/Price/DAO/Field.php | 2 +- CRM/Upgrade/Snapshot/V4p2/Price/DAO/FieldValue.php | 2 +- CRM/Upgrade/Snapshot/V4p2/Price/DAO/LineItem.php | 2 +- CRM/Upgrade/Snapshot/V4p2/Price/DAO/Set.php | 2 +- CRM/Upgrade/Snapshot/V4p2/Price/DAO/SetEntity.php | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CRM/Upgrade/Snapshot/V4p2/Price/DAO/Field.php b/CRM/Upgrade/Snapshot/V4p2/Price/DAO/Field.php index 97b4d71668..2296225e88 100644 --- a/CRM/Upgrade/Snapshot/V4p2/Price/DAO/Field.php +++ b/CRM/Upgrade/Snapshot/V4p2/Price/DAO/Field.php @@ -208,7 +208,7 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_Field extends CRM_Core_DAO { * * @return array */ - static function &fields() { + public static function &fields() { if (!(self::$_fields)) { self::$_fields = array( 'id' => array( diff --git a/CRM/Upgrade/Snapshot/V4p2/Price/DAO/FieldValue.php b/CRM/Upgrade/Snapshot/V4p2/Price/DAO/FieldValue.php index 7fb4d7a426..22b3fa6691 100644 --- a/CRM/Upgrade/Snapshot/V4p2/Price/DAO/FieldValue.php +++ b/CRM/Upgrade/Snapshot/V4p2/Price/DAO/FieldValue.php @@ -180,7 +180,7 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_FieldValue extends CRM_Core_DAO { * * @return array */ - static function &fields() { + public static function &fields() { if (!(self::$_fields)) { self::$_fields = array( 'id' => array( diff --git a/CRM/Upgrade/Snapshot/V4p2/Price/DAO/LineItem.php b/CRM/Upgrade/Snapshot/V4p2/Price/DAO/LineItem.php index d907461ccc..a73956f067 100644 --- a/CRM/Upgrade/Snapshot/V4p2/Price/DAO/LineItem.php +++ b/CRM/Upgrade/Snapshot/V4p2/Price/DAO/LineItem.php @@ -168,7 +168,7 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_LineItem extends CRM_Core_DAO { * * @return array */ - static function &fields() { + public static function &fields() { if (!(self::$_fields)) { self::$_fields = array( 'id' => array( diff --git a/CRM/Upgrade/Snapshot/V4p2/Price/DAO/Set.php b/CRM/Upgrade/Snapshot/V4p2/Price/DAO/Set.php index bc99b2614b..4cac29ac9e 100644 --- a/CRM/Upgrade/Snapshot/V4p2/Price/DAO/Set.php +++ b/CRM/Upgrade/Snapshot/V4p2/Price/DAO/Set.php @@ -180,7 +180,7 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_Set extends CRM_Core_DAO { * * @return array */ - static function &fields() { + public static function &fields() { if (!(self::$_fields)) { self::$_fields = array( 'id' => array( diff --git a/CRM/Upgrade/Snapshot/V4p2/Price/DAO/SetEntity.php b/CRM/Upgrade/Snapshot/V4p2/Price/DAO/SetEntity.php index 9307764d2f..5ab117a985 100644 --- a/CRM/Upgrade/Snapshot/V4p2/Price/DAO/SetEntity.php +++ b/CRM/Upgrade/Snapshot/V4p2/Price/DAO/SetEntity.php @@ -131,7 +131,7 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_SetEntity extends CRM_Core_DAO { * * @return array */ - static function &fields() { + pubic static function &fields() { if (!(self::$_fields)) { self::$_fields = array( 'id' => array( -- 2.25.1