X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fextensions%2Fext-autopurge.php;h=cbad4cbfed81ffd0b7f0e95b3f89ee5065800445;hp=ff38a3f6494024e1eee74c28a03ecd236d979f8a;hb=03f62d0b89aa9276ac37f4d616d940fae184d850;hpb=7297440d795390abd70ddc339b1a81d34f76c953 diff --git a/inc/extensions/ext-autopurge.php b/inc/extensions/ext-autopurge.php index ff38a3f649..cbad4cbfed 100644 --- a/inc/extensions/ext-autopurge.php +++ b/inc/extensions/ext-autopurge.php @@ -257,7 +257,7 @@ switch ($EXT_LOAD_MODE) default: // Do stuff when extension is loaded // Do we have a daily-reset-run? - if (isResetModeEnabled() && (!isDebugModeEnabled()) && ($GLOBALS['output_mode'] != 1)) { + if (isResetModeEnabled() && (!isDebugModeEnabled()) && (getOutputMode() != 1)) { // Yes, we have. So let's auto-purge some campaigns, inactive users and unconfirmed accounts ADD_INC_TO_POOL(sprintf("%sinc/autopurge.php", constant('PATH'))); }