]> git.mxchange.org Git - mailer.git/blobdiff - inc/extensions/ext-profile.php
Rewrites of more constants
[mailer.git] / inc / extensions / ext-profile.php
index 44cd9f70e08a427583a2981eb089da3b116378ea..55c69a7b2931db67e2b1d3e16cc90323ff548824 100644 (file)
@@ -120,7 +120,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')) && ($GLOBALS['output_mode'] != 1)) {
+       if (isResetModeEnabled() && (!isDebugModeEnabled()) && ($GLOBALS['output_mode'] != 1)) {
                // So let's check for profiles which needs an update
                $INC_POOL[] = sprintf("%sinc/profile-updte.php", constant('PATH'));
        }