Rewrites of more constants
[mailer.git] / inc / mails / birthday_mails.php
index c67e0ee25ee324c718f1a875fac2129aa0fb0c47..80a1f06a9e269f535b50544c370cfd4fbac99a3a 100644 (file)
@@ -40,7 +40,7 @@ if (!defined('__SECURITY')) {
 }
 
 // Do not execute when script is in CSS mode
-if (($GLOBALS['output_mode'] == 1) || (!defined('__DAILY_RESET'))) return;
+if (($GLOBALS['output_mode'] == 1) || (!isResetModeEnabled())) return;
 
 // Get current day (01 to 31), month (01 to 12) and year (4-digits year)
 $DAY   = date("d", time());