From e2fb4c98967e75a08f23ba496d20ada415b6dbea Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Tue, 17 Jan 2023 21:05:41 -0800 Subject: [PATCH] shimmy - Remove old boilerplate for registering Smarty folder --- tests/extensions/shimmy/shimmy.civix.php | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/tests/extensions/shimmy/shimmy.civix.php b/tests/extensions/shimmy/shimmy.civix.php index 8ed705ff74..8dc907252c 100644 --- a/tests/extensions/shimmy/shimmy.civix.php +++ b/tests/extensions/shimmy/shimmy.civix.php @@ -98,18 +98,7 @@ function _shimmy_civix_civicrm_config(&$config = NULL) { } $configured = TRUE; - $template = CRM_Core_Smarty::singleton(); - $extRoot = __DIR__ . DIRECTORY_SEPARATOR; - $extDir = $extRoot . 'templates'; - - if (is_array($template->template_dir)) { - array_unshift($template->template_dir, $extDir); - } - else { - $template->template_dir = [$extDir, $template->template_dir]; - } - $include_path = $extRoot . PATH_SEPARATOR . get_include_path(); set_include_path($include_path); -- 2.25.1