]> git.mxchange.org Git - mailer.git/blobdiff - inc/purge/purge-general.php
Rewrote script to use more EL, introduced wrappers for sending pool:
[mailer.git] / inc / purge / purge-general.php
index 9fdacc38096419ab11e3f25efa544156cb61e0f0..8b3dfb485022705816216475e1056a81f7de684d 100644 (file)
@@ -91,8 +91,7 @@ ORDER BY
                                        array(bigintval($content['id'])), __FILE__, __LINE__, FALSE));
 
                                // Update status of order
-                               addSql(SQL_QUERY_ESC("UPDATE `{?_MYSQL_PREFIX?}_pool` SET `data_type`='DELETED' WHERE `id`=%s LIMIT 1",
-                                       array(bigintval($content['pool_id'])), __FILE__, __LINE__, FALSE));
+                               updatePoolDataById($content['pool_id'], 'data_type', 'DELETED');
                        } // END - if
 
                        // Free memory