Fix fatal error on logging tab when hook alters logging tables.
authoreileen <emcnaughton@wikimedia.org>
Tue, 1 May 2018 23:07:16 +0000 (11:07 +1200)
committereileen <emcnaughton@wikimedia.org>
Wed, 2 May 2018 10:33:38 +0000 (22:33 +1200)
commitf2f65d3348eaf2a70a32030e4bdbed5554679c6a
treee69f2196f74f61bbe9f7de7dc204be10adfc7c5d
parent63dc1f23a2aa81608ab3e9830b41402802be2d66
Fix fatal error on logging tab when hook alters logging tables.

When a custom table is removed from logged tables by hook (e.g a calculated table like a summary table) the logging report
still tries to include it but fails with a fatal error.

This patch excludes it from the list of customDataEnabled logging tables
CRM/Logging/ReportSummary.php
CRM/Logging/Schema.php
tests/phpunit/api/v3/ReportTemplateTest.php