From: Tim Otten Date: Mon, 9 Jun 2014 23:29:13 +0000 (-0700) Subject: CRM_Core_BAO_CustomGroup - Change private _getTableName() to public getTableNameByEnt... X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=6de765204f44fbba69cf3c81595e0ba762b0b84e;p=civicrm-core.git CRM_Core_BAO_CustomGroup - Change private _getTableName() to public getTableNameByEntityName() 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"). --- diff --git a/CRM/Core/BAO/CustomGroup.php b/CRM/Core/BAO/CustomGroup.php index abe4be26be..7978c8aecc 100644 --- a/CRM/Core/BAO/CustomGroup.php +++ b/CRM/Core/BAO/CustomGroup.php @@ -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':