CRM/Core - Fix isCoreTable to check for tables instead of classes
authorPatrick Figel <pfigel@greenpeace.org>
Tue, 5 Feb 2019 16:58:15 +0000 (17:58 +0100)
committerPatrick Figel <pfigel@greenpeace.org>
Tue, 5 Feb 2019 16:58:15 +0000 (17:58 +0100)
commit4c1bd923529d3e8fdf31c079c9e39edea08c6625
tree751d0f1e4e2016554d4f43d83dccaee10d277873
parentb0558c215a036e34d99c230c431c55e2becb79b4
CRM/Core - Fix isCoreTable to check for tables instead of classes

This fixes CRM_Core_DAO_AllCoreTables::isCoreTable to check for the
existence of tables instead of DAO classes. The method is used only
once in core, and the intention there is to look for table names,
so there should not be much risk of breakage.
CRM/Core/DAO/AllCoreTables.php
tests/phpunit/CRM/Core/DAO/AllCoreTablesTest.php