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

Back to archive index

Tadashi Okoshi slash****@users*****
2006年 6月 6日 (火) 11:02:33 JST


Index: affelio/lib/Affelio/Managing/NewsAggregator.pm
diff -u affelio/lib/Affelio/Managing/NewsAggregator.pm:1.21 affelio/lib/Affelio/Managing/NewsAggregator.pm:1.22
--- affelio/lib/Affelio/Managing/NewsAggregator.pm:1.21	Tue Jun  6 10:34:31 2006
+++ affelio/lib/Affelio/Managing/NewsAggregator.pm	Tue Jun  6 11:02:33 2006
@@ -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.21 2006/06/06 01:34:31 slash5234 Exp $
+# $Id: NewsAggregator.pm,v 1.22 2006/06/06 02:02:33 slash5234 Exp $
 
 package Affelio::Managing::NewsAggregator;
 {
@@ -177,10 +177,6 @@
 	debug_print("NewsAggregator::get_one: updated_last_news_in");
 
 	#########################################################
-	#get af_type of the peer
-	my $af_type = $af->getFM->get_attribute_by_id($uid, "af_type");
-
-	#########################################################
 	#Invoke SNS/Handshaker_c
 	my $ret="";
 	try{
@@ -235,6 +231,10 @@
 	    debug_print("NewsAggregator::get_one: creator= $creator");
 	    debug_print("NewsAggregator::get_one: URL = $URL");
 
+	    #########################################################
+	    #get af_type of the peer
+	    my $af_type = $af->getFM->get_attribute_by_afid($af_id, "af_type");
+
 	    post_news($self,
 		      datetime => $datetime,
 		      af_id => $af_id,


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