]> git.mxchange.org Git - mailer.git/blobdiff - inc/reset/reset_daily.php
Rewrites of more constants
[mailer.git] / inc / reset / reset_daily.php
index 4862ed3d16abd20562d4ebd9db5f53be6395cf2e..293a6bf05b4a8c1b61c95745e2d5e0ac767a6f4a 100644 (file)
@@ -40,7 +40,7 @@ if (!defined('__SECURITY')) {
 }
 
 // Do not execute when script is in CSS mode or no daily reset
-if (($GLOBALS['output_mode'] == 1) || (!defined('__DAILY_RESET'))) return;
+if (($GLOBALS['output_mode'] == 1) || (!isResetModeEnabled())) return;
 //* DEBUG: */ echo basename(__FILE__)."<br />\n";
 
 // Update user profiles