Merge pull request #18714 from MegaphoneJon/financial-111
[civicrm-core.git] / CRM / Contact / DAO / ACLContactCache.php
index 6b319f9636ce77e248b306c203b4f9451a161a5a..eb34f360002d960a331b86e08c9662beab35fbae 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Contact/ACLContactCache.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:97d9be5e13ece64b6c9ad1722d9bca68)
+ * (GenCodeChecksum:4eaf1e99ce247c430fc280cc6ce68538)
  */
 
 /**
@@ -68,24 +68,12 @@ class CRM_Contact_DAO_ACLContactCache extends CRM_Core_DAO {
 
   /**
    * Returns localized title of this entity.
-   */
-  public static function getEntityTitle() {
-    return ts('ACLContact Caches');
-  }
-
-  /**
-   * Returns foreign keys and entity references.
    *
-   * @return array
-   *   [CRM_Core_Reference_Interface]
+   * @param bool $plural
+   *   Whether to return the plural version of the title.
    */
-  public static function getReferenceColumns() {
-    if (!isset(Civi::$statics[__CLASS__]['links'])) {
-      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']);
-    }
-    return Civi::$statics[__CLASS__]['links'];
+  public static function getEntityTitle($plural = FALSE) {
+    return $plural ? ts('ACLContact Caches') : ts('ACLContact Cache');
   }
 
   /**
@@ -132,7 +120,6 @@ class CRM_Contact_DAO_ACLContactCache extends CRM_Core_DAO {
           'entity' => 'ACLContactCache',
           'bao' => 'CRM_Contact_DAO_ACLContactCache',
           'localizable' => 0,
-          'FKClassName' => 'CRM_Contact_DAO_Contact',
           'add' => '3.1',
         ],
         'operation' => [