X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Freset%2Freset_bonus.php;h=38d97091fb96b7b494bca0988473ae7c065ab5d3;hb=3767eef30a9e514e95625e6da22418ab297b204d;hp=cefffd4f3f1053904668b99b82d6fbef1e5bda4c;hpb=220bdba15d0511396b8ff00409ec8ac02ed1305c;p=mailer.git diff --git a/inc/reset/reset_bonus.php b/inc/reset/reset_bonus.php index cefffd4f3f..38d97091fb 100644 --- a/inc/reset/reset_bonus.php +++ b/inc/reset/reset_bonus.php @@ -1,7 +1,7 @@ \n"; +// Purge expired entries in _bonus_turbo +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__); +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] ?>