X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Freset%2Freset_bonus.php;h=77be034ee028ca9630b3353ea471dc8695ee5fc5;hb=09f5758c42a33a56bdd461c946ffe759a59c54aa;hp=2d2cb237bd6a477f1540cf1e8fb1ff6f730dfee8;hpb=36c3c8b749a88ce05ad0fda81e00047f9cb5433f;p=mailer.git diff --git a/inc/reset/reset_bonus.php b/inc/reset/reset_bonus.php index 2d2cb237bd..77be034ee0 100644 --- a/inc/reset/reset_bonus.php +++ b/inc/reset/reset_bonus.php @@ -1,7 +1,7 @@ "); +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", +$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] ?>