]> git.mxchange.org Git - mailer.git/blobdiff - inc/extensions/ext-autopurge.php
Debug code commented out
[mailer.git] / inc / extensions / ext-autopurge.php
index 9c46b91e5a1bc0bc4042d96ba76a4f8f642fa0a4..2a49e5361ca07a8b68156a75f9608aceb65c1564 100644 (file)
@@ -254,8 +254,7 @@ case "test": // For testing purposes. For details see file inc/modules/admin/wha
 
 default: // Do stuff when extension is loaded
        // Do we have a daily-reset-run?
-       if (isBooleanConstantAndTrue('__DAILY_RESET') && (!DEBUG_MODE) && ($CSS != 1))
-       {
+       if (isBooleanConstantAndTrue('__DAILY_RESET') && (!isBooleanConstantAndTrue('DEBUG_MODE')) && ($GLOBALS['output_mode'] != 1)) {
                // Yes, we have. So let's auto-purge some campaigns, inactive users and unconfirmed accounts
                $INC_POOL[] = sprintf("%sinc/autopurge.php", constant('PATH'));
        }