}
function AUTOPURGE_ADD_POINTS($uid, $points) {
- global $jackpot;
-
// Check if he has locked points or not
$result = SQL_QUERY_ESC("SELECT ref_payout FROM `{!_MYSQL_PREFIX!}_user_data` WHERE userid=%s LIMIT 1",
array(bigintval($uid)), __FILE__, __LINE__);