[Slashdotjp-dev 1080] [607] fix to use getCurrentStatic()

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2008年 4月 24日 (木) 20:36:08 JST


Revision: 607
          http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=slashdotjp&view=rev&rev=607
Author:   tach
Date:     2008-04-24 20:36:08 +0900 (Thu, 24 Apr 2008)

Log Message:
-----------
fix to use getCurrentStatic()

Modified Paths:
--------------
    slashjp/branches/2.5.0.192/plugins/Journal/Journal.pm


-------------- next part --------------
Modified: slashjp/branches/2.5.0.192/plugins/Journal/Journal.pm
===================================================================
--- slashjp/branches/2.5.0.192/plugins/Journal/Journal.pm	2008-04-24 10:44:53 UTC (rev 606)
+++ slashjp/branches/2.5.0.192/plugins/Journal/Journal.pm	2008-04-24 11:36:08 UTC (rev 607)
@@ -649,7 +649,7 @@
 			url		=> $url,
 			ts		=> $journal_story->{'time'}
 		};
-		delete @{$discussion}{qw(title url)} if ($constants->{update_journal_story_discussion_to_story});
+		delete @{$discussion}{qw(title url)} if (getCurrentStatic("update_journal_story_discussion_to_story"));
 
 		if ($self->setDiscussion($journal_story->{discussion}, $discussion)) {
 			$self->sqlUpdate('journal_transfer', {


Slashdotjp-dev メーリングリストの案内
Back to archive index