}
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'));
}