From 6de765204f44fbba69cf3c81595e0ba762b0b84e Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Mon, 9 Jun 2014 16:29:13 -0700 Subject: [PATCH] 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"). --- CRM/Core/BAO/CustomGroup.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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': -- 2.25.1