]> git.mxchange.org Git - mailer.git/blobdiff - inc/hourly/hourly_
Theoretical working merge of mailid.php and mailid_top.php into mailid.php + a couple...
[mailer.git] / inc / hourly / hourly_
index 9d34222d4ae9f97a9be97475727a962057ff7468..9d501114ab9f248f2891968ba785bf1704398a62 100644 (file)
@@ -41,8 +41,8 @@ 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('')) && (isDebugModeEnabled())) {
-       logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext- disabled.');
+} elseif (!isExtensionActive('')) {
+       if (isDebugModeEnabled()) logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext- disabled.');
        return;
 }