From: eileen Date: Mon, 23 Jan 2017 23:39:10 +0000 (+1300) Subject: Fix visibility on legacy functions X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=1e1ed556e29f820a3834d8b1d45e979bca8c720f;p=civicrm-core.git Fix visibility on legacy functions --- 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(