(NFC) Set _log and _table_name variables to be public
[civicrm-core.git] / CRM / Contact / DAO / SubscriptionHistory.php
index 4f0da9aa8834e641a05e14dcefbc3a332487f544..90f7ea3d8f81523f49645e6962341cec91d070bd 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/Contact/SubscriptionHistory.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:8b7f0a4e3593bc26947b4bb6cf54c2d2)
+ * (GenCodeChecksum:8051a666011690a9dfb14d91a013a3e0)
  */
 
 /**
@@ -19,14 +19,14 @@ class CRM_Contact_DAO_SubscriptionHistory extends CRM_Core_DAO {
    *
    * @var string
    */
-  static $_tableName = 'civicrm_subscription_history';
+  public static $_tableName = 'civicrm_subscription_history';
 
   /**
    * Should CiviCRM log any modifications to this table in the civicrm_log table.
    *
    * @var bool
    */
-  static $_log = TRUE;
+  public static $_log = TRUE;
 
   /**
    * Internal Id
@@ -93,7 +93,7 @@ class CRM_Contact_DAO_SubscriptionHistory 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(), 'contact_id', 'civicrm_contact', 'id');
       Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'group_id', 'civicrm_group', 'id');
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);