CRM_Core_BAO_CustomGroup - Change private _getTableName() to public getTableNameByEnt...
authorTim Otten <totten@civicrm.org>
Mon, 9 Jun 2014 23:29:13 +0000 (16:29 -0700)
committerTim Otten <totten@civicrm.org>
Mon, 9 Jun 2014 23:29:13 +0000 (16:29 -0700)
Based on grep, it appears that _getTableName() is never used, and it's
unlikely to be used by third-party code (considering that it's "private").

CRM/Core/BAO/CustomGroup.php

index abe4be26be48140e16369ce6b074d0e2d83841ae..7978c8aeccdc72c7e8b80176a579e2df16901032 100644 (file)
@@ -1046,11 +1046,12 @@ ORDER BY civicrm_custom_group.weight,
    *
    * @return string $tableName
    *
-   * @access private
+   * @access public
    * @static
    *
+   * @see _apachesolr_civiAttachments_dereference_file_parent
    */
-  private static function _getTableName($entityType) {
+  public static function getTableNameByEntityName($entityType) {
     $tableName = '';
     switch ($entityType) {
       case 'Contact':