X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fextensions-functions.php;h=a33aabce0f13c33ae093a8315cf57f4f0c3310e7;hb=9bd2c18e0ae9ff758e566817cf811f84bc023748;hp=a9c6fd92391bdc6227654e03015edf95292af0a8;hpb=4fbcc6c31cd21218a4b243eb4869989ad82efd65;p=mailer.git diff --git a/inc/extensions-functions.php b/inc/extensions-functions.php index a9c6fd9239..a33aabce0f 100644 --- a/inc/extensions-functions.php +++ b/inc/extensions-functions.php @@ -18,6 +18,7 @@ * svn:keywords Date Revision" (autoprobset!) at least!!!!!! * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * + * Copyright (c) 2009, 2010 by Mailer Developer Team * * For more information visit: http://www.mxchange.org * * * * This program is free software; you can redistribute it and/or modify * @@ -988,7 +989,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 +1451,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();