changeset 99:b35c7aaef8ca

enabled the cache
author "Rex Tsai <chihchun@kalug.linux.org.tw>"
date Wed, 29 Oct 2008 02:49:55 +0800
parents 34749e907405
children ed6160630329
files scan.pl
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scan.pl	Wed Oct 29 02:43:04 2008 +0800
+++ b/scan.pl	Wed Oct 29 02:49:55 2008 +0800
@@ -28,7 +28,7 @@
         $c->update();
 
         my $user = Ikariam::User->retrieve($h_city->{'user'});
-        # next if (defined($user) && $user->time le (time - 60*60*1));
+        next if (defined($user) && $user->time le (time - 60*60*1));
 
         saveUser($h_city->{owner});
     }