From 4263855239103a123991aaf5f55416f32637325d Mon Sep 17 00:00:00 2001 From: Pavel Shevaev Date: Tue, 27 Jun 2023 14:36:34 +0300 Subject: [PATCH] Getting rid of contraversary '.local' heuristics --- bhl_macro.inc.php | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/bhl_macro.inc.php b/bhl_macro.inc.php index 3e8e7ef..ab7b8a4 100644 --- a/bhl_macro.inc.php +++ b/bhl_macro.inc.php @@ -5,19 +5,9 @@ */ function macro_BHL_REF($proc, $module, $func, $signature_json = '') { - //let's try the .local override first - $module_file = \taskman\bhl_map_module_to_file($module.".local"); - if($module_file) - { - $module .= '.local'; - $func .= '_Local'; - } - else - { - $module_file = \taskman\bhl_map_module_to_file($module); - if(!$module_file) - throw new Exception("Module not found '{$module}'"); - } + $module_file = \taskman\bhl_map_module_to_file($module); + if(!$module_file) + throw new Exception("Module not found '{$module}'"); //validate signature only if it's explicitely passed if($signature_json)