More globals rewritten, see #100
[mailer.git] / inc / libs / autopurge_functions.php
index 31a1c82e22edf3d4bbb886101f39db895ff3cbdd..e7c1b667a8913c0348e2e28364579fbca7b63ff0 100644 (file)
@@ -38,8 +38,6 @@ if (!defined('__SECURITY')) {
 }
 
 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__);