(NFC) Set _log and _table_name variables to be public
[civicrm-core.git] / CRM / Core / DAO / Discount.php
index 61d97f2abb8d3477cbf27db2ae20fb7b706a07e5..eff4329fbbbd6de510172afa5bb6ac1d27c27551 100644 (file)
@@ -2,11 +2,11 @@
 
 /**
  * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2018
+ * @copyright CiviCRM LLC (c) 2004-2019
  *
  * Generated from xml/schema/CRM/Core/Discount.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:1ce69428f948066567e95645cb86254a)
+ * (GenCodeChecksum:74c8162f321ac50b965c1416951fe93a)
  */
 
 /**
@@ -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']);