]> git.mxchange.org Git - mailer.git/blobdiff - inc/extensions-functions.php
Possible final fixes for user login, debug lines rewritten to logfile, some old lost...
[mailer.git] / inc / extensions-functions.php
index a9c6fd92391bdc6227654e03015edf95292af0a8..ed0c0e8baee9c538350c195d1b82fd7cbfb8f093 100644 (file)
@@ -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();