(NFC) Set _log and _table_name variables to be public
[civicrm-core.git] / CRM / Contact / DAO / GroupContactCache.php
index a6d183b05286b4bc1aabcfd59cda9a43c449098f..7e97bd7b867df0849d5a7da3746cdb017153e2af 100644 (file)
@@ -19,14 +19,14 @@ class CRM_Contact_DAO_GroupContactCache extends CRM_Core_DAO {
    *
    * @var string
    */
-  static $_tableName = 'civicrm_group_contact_cache';
+  public static $_tableName = 'civicrm_group_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
@@ -65,7 +65,7 @@ class CRM_Contact_DAO_GroupContactCache 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(), 'group_id', 'civicrm_group', 'id');
       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']);