(NFC) Set _log and _table_name variables to be public
[civicrm-core.git] / CRM / Report / DAO / ReportInstance.php
index 48a6a02296af4883a1bd99c58044eec1c8afb20f..bd2d42c3ef4d0f9be9ded25b0816147b16df33c3 100644 (file)
@@ -19,14 +19,14 @@ class CRM_Report_DAO_ReportInstance extends CRM_Core_DAO {
    *
    * @var string
    */
-  static $_tableName = 'civicrm_report_instance';
+  public static $_tableName = 'civicrm_report_instance';
 
   /**
    * Should CiviCRM log any modifications to this table in the civicrm_log table.
    *
    * @var bool
    */
-  static $_log = FALSE;
+  public static $_log = FALSE;
 
   /**
    * Report Instance ID
@@ -189,7 +189,7 @@ class CRM_Report_DAO_ReportInstance 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(), 'domain_id', 'civicrm_domain', 'id');
       Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'created_id', 'civicrm_contact', 'id');
       Civi::$statics[__CLASS__]['links'][] = new CRM_Core_Reference_Basic(self::getTableName(), 'owner_id', 'civicrm_contact', 'id');