Getting rid of contraversary '.local' heuristics
This commit is contained in:
parent
4c32ed0d08
commit
4263855239
|
@ -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}'");
|
||||
}
|
||||
|
||||
//validate signature only if it's explicitely passed
|
||||
if($signature_json)
|
||||
|
|
Loading…
Reference in New Issue