Renamed all SQL-related functions to camel-case notation
[mailer.git] / inc / filter / beg_filter.php
index 9865a58550ae7070e7b640e4d63976402ea0062d..ed1c378eb2f9205da0cea90bf80fd1627ef1afd8 100644 (file)
@@ -67,7 +67,7 @@ function FILTER_BEG_PURGE_IPS_NOTIFY_USER ($filterData) {
        } // END - if
 
        // Run the SQL query
-       SQL_QUERY_ESC('DELETE LOW_PRIORITY FROM `{?_MYSQL_PREFIX?}_beg_ips` WHERE (UNIX_TIMESTAMP() - `timeout`) >= %s',
+       sqlQueryEscaped('DELETE LOW_PRIORITY FROM `{?_MYSQL_PREFIX?}_beg_ips` WHERE (UNIX_TIMESTAMP() - `timeout`) >= %s',
                array($OLD + 60*60), __FUNCTION__, __LINE__);
 
        // Check for beg rallye is active and send mails out