From: Roland Häder Date: Fri, 5 Mar 2010 23:19:28 +0000 (+0000) Subject: Fix for purge SQL X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f94266632bde6b5eda847aa62ef9c43c61afa60f;p=mailer.git Fix for purge SQL --- diff --git a/inc/classes/resolver.class.php b/inc/classes/resolver.class.php index 1010e2283c..c133a56aba 100644 --- a/inc/classes/resolver.class.php +++ b/inc/classes/resolver.class.php @@ -120,7 +120,7 @@ class HostnameResolver { // Purge old entries function purgeEntries() { // SQL for cleaning up - SQL_QUERY("DELETE LOW_PRIORITY FROM `{?_MYSQL_PREFIX?}_dns_cache` WHERE UNIX_TIMESTAMP(`added`) < (UNIX_TIMESTAMP() - {%config:dns_cache_timeout%})", + SQL_QUERY("DELETE LOW_PRIORITY FROM `{?_MYSQL_PREFIX?}_dns_cache` WHERE UNIX_TIMESTAMP(`added`) < (UNIX_TIMESTAMP() - {?dns_cache_timeout?})", __METHOD__, __LINE__); } }