Skip to content

Commit

Permalink
Merge pull request #15944 from magnolia61/Sort_CMS_tables_alphabetically
Browse files Browse the repository at this point in the history
Sort CMS Database Table list
  • Loading branch information
eileenmcnaughton authored Nov 25, 2019
2 parents e97a095 + 101d85b commit 7111909
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CRM/Admin/Form/Setting/UF.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ function_exists('module_exists') &&
) {
$dsnArray = DB::parseDSN($config->dsn);
$tableNames = CRM_Core_DAO::getTableNames();
asort($tableNames);
$tablePrefixes = '$databases[\'default\'][\'default\'][\'prefix\']= array(';
if ($config->userFramework === 'Backdrop') {
$tablePrefixes = '$database_prefix = array(';
Expand Down

0 comments on commit 7111909

Please sign in to comment.