CRM-20312 regenerated DAOS with indexes
[civicrm-core.git] / CRM / Contact / DAO / SubscriptionHistory.php
index 9b948f340473be71d3cf37fa3a14853689ab4849..a29c982fb9c27e80e9440b71846eeb81ea7cec8c 100644 (file)
@@ -275,4 +275,11 @@ class CRM_Contact_DAO_SubscriptionHistory extends CRM_Core_DAO {
     $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'subscription_history', $prefix, array());
     return $r;
   }
+  /**
+   * Returns the list of indices
+   */
+  public static function indices($localize = TRUE) {
+    $indices = array();
+    return ($localize && !empty($indices)) ? CRM_Core_DAO_AllCoreTables::multilingualize(__CLASS__, $indices) : $indices;
+  }
 }