Remove inconsistent & problematic hook invocation
authorColeman Watts <coleman@civicrm.org>
Mon, 21 Jan 2019 14:18:03 +0000 (09:18 -0500)
committerColeman Watts <coleman@civicrm.org>
Mon, 21 Jan 2019 14:18:03 +0000 (09:18 -0500)
CRM/Core/Page/Inline/Help.php

index 24938836b0d400f5a23b81560f28c6d97d3dde25..ed2d57e68a72e822774e5c6b96708a7b50218008 100644 (file)
@@ -52,9 +52,6 @@ class CRM_Core_Page_Inline_Help {
       $output = $smarty->fetch($file);
       $extraoutput = '';
       if ($smarty->template_exists($additionalTPLFile)) {
-        //@todo hook has been put here as a conservative approach
-        // but probably should always run. It doesn't run otherwise because of the exit
-        CRM_Utils_Hook::pageRun($this);
         $extraoutput .= trim($smarty->fetch($additionalTPLFile));
         // Allow override param to replace default text e.g. {hlp id='foo' override=1}
         if ($smarty->get_template_vars('override_help_text')) {