[Slashdotjp-dev 1068] [595] Fix to take discussion id from journal-submission

アーカイブの一覧に戻る

svnno****@sourc***** svnno****@sourc*****
2008年 4月 22日 (火) 18:49:56 JST


Revision: 595
          http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=slashdotjp&view=rev&rev=595
Author:   tach
Date:     2008-04-22 18:49:56 +0900 (Tue, 22 Apr 2008)

Log Message:
-----------
Fix to take discussion id from journal-submission

Modified Paths:
--------------
    slashjp/branches/2.5.0.192/Slash/DB/MySQL/MySQL.pm
    slashjp/branches/2.5.0.192/debian/changelog


-------------- next part --------------
Modified: slashjp/branches/2.5.0.192/Slash/DB/MySQL/MySQL.pm
===================================================================
--- slashjp/branches/2.5.0.192/Slash/DB/MySQL/MySQL.pm	2008-04-22 07:44:14 UTC (rev 594)
+++ slashjp/branches/2.5.0.192/Slash/DB/MySQL/MySQL.pm	2008-04-22 09:49:56 UTC (rev 595)
@@ -1258,7 +1258,7 @@
 		my $firehose_id = $firehose->createItemFromSubmission($subid);
 
 		if ($firehose_id) {
-			my $discussion_id = $self->createDiscussion({
+			my $discussion_id = $submission->{discussion} || $self->createDiscussion({
 				uid		=> 0,
 				kind		=> 'submission',
 				title		=> $data->{subj},

Modified: slashjp/branches/2.5.0.192/debian/changelog
===================================================================
--- slashjp/branches/2.5.0.192/debian/changelog	2008-04-22 07:44:14 UTC (rev 594)
+++ slashjp/branches/2.5.0.192/debian/changelog	2008-04-22 09:49:56 UTC (rev 595)
@@ -1,3 +1,9 @@
+slash (2.5.0.192-10) unstable; urgency=low
+
+  * Fix to take discussion id from journal-submission
+
+ -- Taku YASUI <tach****@osdn*****>  Tue, 22 Apr 2008 18:49:08 +0900
+
 slash (2.5.0.192-9) unstable; urgency=low
 
   * Fix continue: firehose color for bookmark feed to same as normal bookmarks


Slashdotjp-dev メーリングリストの案内
アーカイブの一覧に戻る