]> git.mxchange.org Git - mailer.git/blobdiff - inc/reset/reset_bonus.php
Ref link fixed, nickname fixed, several rewrites, TODOs.txt updated:
[mailer.git] / inc / reset / reset_bonus.php
index f181838fd4da1495f2d5f69fe4bf2aec6faf9e0b..2d2cb237bd6a477f1540cf1e8fb1ff6f730dfee8 100644 (file)
@@ -45,15 +45,15 @@ if (!defined('__SECURITY')) {
 }
 
 // Do not execute when script is in CSS mode or no daily reset
-if (($GLOBALS['output_mode'] == 1) || (!isResetModeEnabled())) return;
-//* DEBUG: */ echo basename(__FILE__)."<br />\n";
+if ((getOutputMode() == 1) || (!isResetModeEnabled())) return;
+//* DEBUG: */ OUTPUT_HTML(basename(__FILE__)."<br />");
 
 // Purge expired entries in _bonus_turbo
 BONUS_PURGE_EXPIRED_TURBO_BONUS();
 
 // Reset accounts
 $result = SQL_QUERY("UPDATE `{!_MYSQL_PREFIX!}_user_data` SET turbo_bonus=0, login_bonus=0, bonus_order=0, bonus_stats=0, bonus_ref=0",
- __FILE__, __LINE__);
+__FILE__, __LINE__);
 
 //
 ?>