]> git.mxchange.org Git - mailer.git/blobdiff - mailid_top.php
More fixes for bonus ranking
[mailer.git] / mailid_top.php
index f1e83132d403e9ebae7a440ad436634c13b538b0..e60943d5b44768fbe44b1334912bfeda952ff475 100644 (file)
@@ -131,14 +131,9 @@ if (($url_userid) > 0 && (($url_mid > 0) || ($url_bid > 0)) && (getTotalFatalErr
                                SQL_FREERESULT($result);
 
                                if ($status == 'CONFIRMED') {
                                SQL_FREERESULT($result);
 
                                if ($status == 'CONFIRMED') {
-                                       // Update last activity
-                                       SQL_QUERY_ESC("UPDATE `{?_MYSQL_PREFIX?}_user_data` SET `last_online`=UNIX_TIMESTAMP(), `last_module`='mailid_top' WHERE `userid`=%s LIMIT 1",
-                                               array($url_userid), __FILE__, __LINE__);
-
                                        // User has confirmed his account so we can procede...
                                        // @TODO Rewrite this to a filter
                                        // User has confirmed his account so we can procede...
                                        // @TODO Rewrite this to a filter
-                                       switch ($ltype)
-                                       {
+                                       switch ($ltype) {
                                                case 'NORMAL':
                                                        $result = SQL_QUERY_ESC("SELECT `payment_id` FROM `{?_MYSQL_PREFIX?}_user_stats` WHERE `pool_id`=%s LIMIT 1",
                                                                array(bigintval($pool)), __FILE__, __LINE__);
                                                case 'NORMAL':
                                                        $result = SQL_QUERY_ESC("SELECT `payment_id` FROM `{?_MYSQL_PREFIX?}_user_stats` WHERE `pool_id`=%s LIMIT 1",
                                                                array(bigintval($pool)), __FILE__, __LINE__);