From 1c4e4e614db2054964161f2a26e8b9152810d380 Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Tue, 26 Aug 2014 15:09:08 -0700 Subject: [PATCH] CRM_Utils_System_UnitTests - Work-around for _drupal_flush_css_js() crash --- CRM/Utils/System/UnitTests.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CRM/Utils/System/UnitTests.php b/CRM/Utils/System/UnitTests.php index 93c62a2ec6..d78ee6a005 100644 --- a/CRM/Utils/System/UnitTests.php +++ b/CRM/Utils/System/UnitTests.php @@ -322,5 +322,10 @@ class CRM_Utils_System_UnitTests extends CRM_Utils_System_Drupal { // This class extends Drupal, but we don't want Drupal's behavior; reproduce CRM_Utils_System_Base::getTimeZoneString return date_default_timezone_get(); } + + function clearResourceCache() { + // UGH. Obscure Drupal-specific implementation. Why does UnitTests extend Drupal? + // You should delete this function if the base-classes are properly rearranged. + } } -- 2.25.1