]> git.mxchange.org Git - mailer.git/commitdiff
Commented out for testing... opps
authorRoland Häder <roland@mxchange.org>
Sun, 18 May 2008 19:11:04 +0000 (19:11 +0000)
committerRoland Häder <roland@mxchange.org>
Sun, 18 May 2008 19:11:04 +0000 (19:11 +0000)
inc/modules/admin/what-del_email.php

index 1c4c7e536c6ade2c1dad3a591f861fec18b08ef7..635b6443e9a8399d987dfd9579420f75d676ad7f 100644 (file)
@@ -75,8 +75,8 @@ if (!empty($_GET['mid'])) {
                SEND_EMAIL($sender, MEMBER_ORDER_DELETED, $msg_user);
 
                // Delete mail from queue
-               //$result = SQL_QUERY_ESC("DELETE LOW_PRIORITY FROM "._MYSQL_PREFIX."_pool WHERE id=%d LIMIT 1",
-               // array(bigintval($_GET['mid'])), __FILE__, __LINE__);
+               $result = SQL_QUERY_ESC("DELETE LOW_PRIORITY FROM "._MYSQL_PREFIX."_pool WHERE id=%d LIMIT 1",
+                array(bigintval($_GET['mid'])), __FILE__, __LINE__);
 
                // Fetch right stats_id from pool
                $result = SQL_QUERY_ESC("SELECT s.id FROM "._MYSQL_PREFIX."_user_stats AS s
@@ -128,8 +128,8 @@ WHERE s.pool_id=%d LIMIT 1",
                        }
 
                        // Remove links from DB
-                       //$result = SQL_QUERY_ESC("DELETE LOW_PRIORITY FROM "._MYSQL_PREFIX."_user_links WHERE stats_id=%d",
-                       // array(bigintval($stats_id)), __FILE__, __LINE__);
+                       $result = SQL_QUERY_ESC("DELETE LOW_PRIORITY FROM "._MYSQL_PREFIX."_user_links WHERE stats_id=%d",
+                        array(bigintval($stats_id)), __FILE__, __LINE__);
 
                        // Output link for manually removing stats entry
                        LOAD_TEMPLATE("admin_settings_saved", false, "<A href=\"".URL."/modules.php?module=admin&amp;what=del_email&amp;pid=".bigintval($_GET['mid'])."\">".ADMIN_REMOVE_STATS_ENTRY."</A>");