]> git.mxchange.org Git - mailer.git/blobdiff - inc/extensions/ext-autopurge.php
Obsolete action=login removed from URLs
[mailer.git] / inc / extensions / ext-autopurge.php
index cfee1ba5fb21c9b6689d8445e93e222585f0111a..802e9a1d5c86155c77d4cb703ac14543bd139e66 100644 (file)
@@ -246,12 +246,15 @@ case "update": // Update an extension
        }
        break;
 
+case "modify": // When the extension got modified
+       break;
+
 case "test": // For testing purposes. For details see file inc/modules/admin/what-extensions.php, arround line 305.
        break;
 
 default: // Do stuff when extension is loaded
        // Do we have a daily-reset-run?
-       if (isBooleanConstantAndTrue('__DAILY_RESET') && (!isBooleanConstantAndTrue('DEBUG_MODE')) && ($GLOBALS['output_mode'] != 1)) {
+       if (isResetModeEnabled() && (!isDebugModeEnabled()) && ($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'));
        }