Rewrites of more constants
[mailer.git] / inc / reset / reset_bonus.php
index 0942e4b506827a55e6c5fc4d6b01751fb972544a..a19cb882934b8cb86152437fb6d636cc27bcbe1b 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";
 
 // Purge expired entries in _bonus_turbo