X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FCore%2FDAO%2FDiscount.php;h=eff4329fbbbd6de510172afa5bb6ac1d27c27551;hb=fa45b5b94d6640f4e7430272f6029c91bb3f50b6;hp=7c396bc05698eca029d2e01430d8cbb12a08d641;hpb=7a88e045914e81a53e30af54aee578baa9ff0220;p=civicrm-core.git diff --git a/CRM/Core/DAO/Discount.php b/CRM/Core/DAO/Discount.php index 7c396bc056..eff4329fbb 100644 --- a/CRM/Core/DAO/Discount.php +++ b/CRM/Core/DAO/Discount.php @@ -19,14 +19,14 @@ class CRM_Core_DAO_Discount extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_discount'; + public static $_tableName = 'civicrm_discount'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = TRUE; + public static $_log = TRUE; /** * primary key @@ -86,7 +86,7 @@ class CRM_Core_DAO_Discount extends CRM_Core_DAO { */ public static function getReferenceColumns() { if (!isset(Civi::$statics[__CLASS__]['links'])) { - Civi::$statics[__CLASS__]['links'] = static ::createReferenceColumns(__CLASS__); + Civi::$statics[__CLASS__]['links'] = static::createReferenceColumns(__CLASS__); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'price_set_id', 'civicrm_price_set', 'id'); Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Dynamic(self::getTableName(), 'entity_id', NULL, 'id', 'entity_table'); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);