From f94266632bde6b5eda847aa62ef9c43c61afa60f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Fri, 5 Mar 2010 23:19:28 +0000 Subject: [PATCH] Fix for purge SQL --- inc/classes/resolver.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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__); } } -- 2.39.5