]> git.mxchange.org Git - mailer.git/blobdiff - inc/hourly/hourly_
Less logging if this is not needed
[mailer.git] / inc / hourly / hourly_
index a1a2a2e369439caca6c3b69d00e7edf63dbd1977..9d34222d4ae9f97a9be97475727a962057ff7468 100644 (file)
@@ -41,7 +41,7 @@ if (!defined('__SECURITY')) {
 } elseif ((isCssOutputMode()) || (isHourlyResetEnabled()) || (!isExtensionInstalledAndNewer('sql_patches', '0.7.5'))) {
        // Do not execute when script is in CSS mode or no hourly reset
        return;
-} elseif (!isExtensionActive('')) {
+} elseif ((!isExtensionActive('')) && (isDebugModeEnabled())) {
        logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext- disabled.');
        return;
 }