X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Freset%2Freset_bonus.php;h=341c97adbabfe036fd5154fafec2a564288bfd2f;hb=8deeddb48c055d0c2483509b7cd6a95ed6d3a87a;hp=96718ec80e595496a3789506452b5579250b0d41;hpb=6c763653e88b9d10627e651ca59c7201d4b7d62b;p=mailer.git diff --git a/inc/reset/reset_bonus.php b/inc/reset/reset_bonus.php index 96718ec80e..341c97adba 100644 --- a/inc/reset/reset_bonus.php +++ b/inc/reset/reset_bonus.php @@ -1,7 +1,7 @@ \n"; +if ((getOutputMode() != 0) || (!isResetModeEnabled())) return; +//* DEBUG: */ outputHtml(basename(__FILE__)."
"); // Purge expired entries in _bonus_turbo -BONUS_PURGE_EXPIRED_TURBO_BONUS(); +purgeExpiredTurboBonus(); // 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__); +$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__); -// +// [EOF] ?>