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