[Affelio-cvs 960] CVS update: affelio/lib/Affelio/Managing

Back to archive index

Tadashi Okoshi slash****@users*****
2005年 12月 19日 (月) 16:22:02 JST


Index: affelio/lib/Affelio/Managing/NewsAggregator.pm
diff -u affelio/lib/Affelio/Managing/NewsAggregator.pm:1.14 affelio/lib/Affelio/Managing/NewsAggregator.pm:1.15
--- affelio/lib/Affelio/Managing/NewsAggregator.pm:1.14	Mon Dec 19 14:55:24 2005
+++ affelio/lib/Affelio/Managing/NewsAggregator.pm	Mon Dec 19 16:22:02 2005
@@ -14,7 +14,7 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 #
-# $Id: NewsAggregator.pm,v 1.14 2005/12/19 05:55:24 slash5234 Exp $
+# $Id: NewsAggregator.pm,v 1.15 2005/12/19 07:22:02 slash5234 Exp $
 
 package Affelio::Managing::NewsAggregator;
 {
@@ -109,10 +109,11 @@
 
 	#########################################################
 	#Get a friend whose last_news_in is smallet (oldest).
-	my $threshold = Affelio::misc::Time::get_timestamp(); #- 1000; #-10m
-	my $result = $af->getFM->get_all_friend_list(where => "last_news_in  < $threshold",  
-						     sort => "last_news_in",
-						     order => "desc");
+	my $threshold = Affelio::misc::Time::get_timestamp() - 1000; #-10m
+	my $result = $af->getFM->get_all_friend_list(
+                     where => "last_news_in  < $threshold",  
+		     sort => "last_incoming",
+  	             order => "desc");
 	debug_print("NewsAggregator::get_one: FM access done.");
 
 	my @row = $result->fetchrow_array;


Affelio-cvs メーリングリストの案内
Back to archive index