Fix CRM_Core_DAO_AllCoreTables::getBriefName to accept BAO name
authorColeman Watts <coleman@civicrm.org>
Fri, 15 May 2020 15:04:04 +0000 (11:04 -0400)
committerColeman Watts <coleman@civicrm.org>
Fri, 15 May 2020 15:07:36 +0000 (11:07 -0400)
commit3d182a0410cc3f52a3adaa7f8e36da216662048a
treef883f19f913222e812c5b020e1cc12fe5fcb312f
parentbb761f09f85629fc7385aea8755a8459b8108878
Fix CRM_Core_DAO_AllCoreTables::getBriefName to accept BAO name

This function was overly strict about not accepting BAO names, prompting end-users of the function
to do their own ad-hoc conversions before using it.
CRM/Core/DAO.php
CRM/Core/DAO/AllCoreTables.php
CRM/Core/PseudoConstant.php
api/api.php
api/v3/utils.php
tests/phpunit/CRM/Core/DAO/AllCoreTablesTest.php