X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fextensions-functions.php;h=ed0c0e8baee9c538350c195d1b82fd7cbfb8f093;hb=7d92d2652807c247558a1bcbd7dcd6574bd4645d;hp=a9c6fd92391bdc6227654e03015edf95292af0a8;hpb=4fbcc6c31cd21218a4b243eb4869989ad82efd65;p=mailer.git diff --git a/inc/extensions-functions.php b/inc/extensions-functions.php index a9c6fd9239..ed0c0e8bae 100644 --- a/inc/extensions-functions.php +++ b/inc/extensions-functions.php @@ -988,7 +988,7 @@ function ifModuleHasMenu ($mod, $forceDb = false) { $ret = in_array($mod, array('admin', 'index', 'login', 'sponsor')); // Then there is a menu! } else { // Unsupported state! - debug_report_bug('This should never be reached.'); + logDebugMessage(__FUNCTION__, __LINE__, 'This should never be reached.'); } // Return status @@ -1450,7 +1450,7 @@ function getCurrentExtensionVersion () { return $GLOBALS['ext_current_version']; } -// Remove the extension from global cache array +// Remove the extension from cache array function removeExtensionFromArray () { // "Cache" this name $ext_name = getCurrentExtensionName();