From 5e2d78f1b04d4139669f85b1547ac16d3e8668f0 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Sat, 16 Dec 2017 09:46:22 -0700 Subject: [PATCH] Cleanup old dao snapshot file --- CRM/Upgrade/Snapshot/V4p2/Price/DAO/Field.php | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/CRM/Upgrade/Snapshot/V4p2/Price/DAO/Field.php b/CRM/Upgrade/Snapshot/V4p2/Price/DAO/Field.php index 2296225e88..d80104dbdc 100644 --- a/CRM/Upgrade/Snapshot/V4p2/Price/DAO/Field.php +++ b/CRM/Upgrade/Snapshot/V4p2/Price/DAO/Field.php @@ -23,7 +23,7 @@ | GNU Affero General Public License or the licensing of CiviCRM, | | see the CiviCRM license FAQ at http://civicrm.org/licensing | +--------------------------------------------------------------------+ -*/ + */ /** * * @package CRM @@ -74,7 +74,7 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_Field extends CRM_Core_DAO { * static value to see if we should log any modifications to * this table in the civicrm_log table * - * @var boolean + * @var bool */ static $_log = TRUE; /** @@ -109,7 +109,7 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_Field extends CRM_Core_DAO { /** * Enter a quantity for this field? * - * @var boolean + * @var bool */ public $is_enter_qty; /** @@ -331,7 +331,7 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_Field extends CRM_Core_DAO { /** * returns if this table needs to be logged. * - * @return boolean + * @return bool */ public function getLog() { return self::$_log; @@ -344,7 +344,7 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_Field extends CRM_Core_DAO { * * @return array */ - static function &import($prefix = FALSE) { + public static function &import($prefix = FALSE) { if (!(self::$_import)) { self::$_import = array(); $fields = self::fields(); @@ -369,7 +369,7 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_Field extends CRM_Core_DAO { * * @return array */ - static function &export($prefix = FALSE) { + public static function &export($prefix = FALSE) { if (!(self::$_export)) { self::$_export = array(); $fields = self::fields(); @@ -393,7 +393,7 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_Field extends CRM_Core_DAO { * @return array * (reference) the array of enum fields */ - static function &getEnums() { + public static function &getEnums() { static $enums = array( 'html_type', ); @@ -440,4 +440,5 @@ class CRM_Upgrade_Snapshot_V4p2_Price_DAO_Field extends CRM_Core_DAO { } } } + } -- 2.25.1