From 7ed1fb8453d0d03334c78f583ff196e4030d7610 Mon Sep 17 00:00:00 2001 From: Kurund Jalmi Date: Tue, 14 May 2013 19:08:26 -0400 Subject: [PATCH] fixed regression in CRM_Core_DAO_AllCoreTables --- xml/templates/listAll.tpl | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/xml/templates/listAll.tpl b/xml/templates/listAll.tpl index 1919a0d34e..24fcb911d3 100644 --- a/xml/templates/listAll.tpl +++ b/xml/templates/listAll.tpl @@ -38,7 +38,7 @@ class CRM_Core_DAO_AllCoreTables {ldelim} static $tables = array( {foreach from=$tables key=tableName item=table} - '{$tableName}', + '{$tableName}' => '{$table.className}', {/foreach} {* tables *} ); @@ -62,11 +62,7 @@ class CRM_Core_DAO_AllCoreTables {ldelim} {rdelim} static public function getClassForTable($tableName) {ldelim} - // The $tables structure was changed, and this function was removed, but - // I'm not sure why, and it's killing the test-suite. So put in a - // placeholder. - // return CRM_Utils_Array::value($tableName, self::$tables); - throw new Exception("Not implemented: getClassForTable()"); + return CRM_Utils_Array::value($tableName, self::$tables); {rdelim} static public function getFullName($daoName) {ldelim} -- 2.25.1