From 53a8d30d8b3229867edbaa149dd98719c407aa2a Mon Sep 17 00:00:00 2001 From: streaky Date: Fri, 9 Nov 2007 05:50:50 +0000 Subject: [PATCH] tmp table cleaup performance fix --- class2.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/class2.php b/class2.php index 02727dd12..3268dc71f 100644 --- a/class2.php +++ b/class2.php @@ -11,8 +11,8 @@ | GNU General Public License (http://gnu.org). | | $Source: /cvs_backup/e107_0.8/class2.php,v $ -| $Revision: 1.28 $ -| $Date: 2007-11-09 05:41:37 $ +| $Revision: 1.29 $ +| $Date: 2007-11-09 05:50:50 $ | $Author: streaky $ +----------------------------------------------------------------------------+ */ @@ -690,7 +690,7 @@ if ($pref['membersonly_enabled'] && !USER && e_SELF != SITEURL.e_SIGNUP && e_SEL exit; } -$sql->db_Delete("tmp", "tmp_time < '".(time() - 300)."' AND tmp_ip!='data' AND tmp_ip!='submitted_link'"); +$sql->db_Delete("tmp", "tmp_time < ".(time() - 300)." AND tmp_ip!='data' AND tmp_ip!='submitted_link'");