X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fextensions%2Fext-autopurge.php;h=2a49e5361ca07a8b68156a75f9608aceb65c1564;hp=d876c0188b8cf63aa361cddbfa0d7a8186d7fda8;hb=59bd8a9805c51c895a92cc12825f4cbdfd792597;hpb=d2b67884c1d4c5aba9ea85400355bc23f7a2dcad diff --git a/inc/extensions/ext-autopurge.php b/inc/extensions/ext-autopurge.php index d876c0188b..2a49e5361c 100644 --- a/inc/extensions/ext-autopurge.php +++ b/inc/extensions/ext-autopurge.php @@ -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') && (!isBooleanConstantAndTrue('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')); }