]> git.mxchange.org Git - mailer.git/blobdiff - inc/extensions/ext-autopurge.php
'what','action','module' and 'output_mode' wrapped into functions (WARNUNG: Code...
[mailer.git] / inc / extensions / ext-autopurge.php
index ff38a3f6494024e1eee74c28a03ecd236d979f8a..cbad4cbfed81ffd0b7f0e95b3f89ee5065800445 100644 (file)
@@ -257,7 +257,7 @@ switch ($EXT_LOAD_MODE)
 
                        default: // Do stuff when extension is loaded
                                // Do we have a daily-reset-run?
 
                        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')));
                                }
                                        // 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')));
                                }