$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
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();