]> git.mxchange.org Git - mailer.git/blobdiff - inc/reset/reset_beg.php
TODOs.txt updated
[mailer.git] / inc / reset / reset_beg.php
index a147ff1f848f4fdfbf7ca144d899ac8df81a17cb..bd04234ba5a79293ae197c4f38fbf33c03fba327 100644 (file)
@@ -45,12 +45,12 @@ if (!defined('__SECURITY')) {
 }
 
 // Do not execute when script is in CSS mode or no daily reset
-if (($GLOBALS['output_mode'] == 1) || (!isResetModeEnabled()) || (getConfig('beg_rallye') == 'Y')) return;
+if ((getOutputMode() == 1) || (!isResetModeEnabled()) || (getConfig('beg_rallye') == 'Y')) return;
 //* DEBUG: */ echo basename(__FILE__)."<br />\n";
 
 // Reset accounts
 $result = SQL_QUERY("UPDATE `{!_MYSQL_PREFIX!}_user_data` SET beg_points=0.00000 WHERE beg_points > 0",
- __FILE__, __LINE__);
+__FILE__, __LINE__);
 
 //
 ?>