X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fextensions-functions.php;h=a33aabce0f13c33ae093a8315cf57f4f0c3310e7;hp=a9c6fd92391bdc6227654e03015edf95292af0a8;hb=9b8d0c1de007c1149af813c07773c3536c71ddd5;hpb=f5ebd83b36f343022977241bd9b570051ece4b0f 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();