(NFC) Set _log and _table_name variables to be public
[civicrm-core.git] / CRM / Contact / DAO / ACLContactCache.php
index 1deee6674ac7d6edfa46553e724808da62b5e2ec..b1c08f0f3fd085053c809e379fc3ac4fd59966a8 100644 (file)
@@ -19,14 +19,14 @@ class CRM_Contact_DAO_ACLContactCache extends CRM_Core_DAO {
    *
    * @var string
    */
-  static $_tableName = 'civicrm_acl_contact_cache';
+  public static $_tableName = 'civicrm_acl_contact_cache';
 
   /**
    * Should CiviCRM log any modifications to this table in the civicrm_log table.
    *
    * @var bool
    */
-  static $_log = FALSE;
+  public static $_log = FALSE;
 
   /**
    * primary key
@@ -72,7 +72,7 @@ class CRM_Contact_DAO_ACLContactCache 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');
       CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'links_callback', Civi::$statics[__CLASS__]['links']);
     }