[Slashdotjp-dev 1521] [1052] Fix firehose story link useless use of shtml

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2009年 3月 3日 (火) 16:33:02 JST


Revision: 1052
          http://svn.sourceforge.jp/view?root=slashdotjp&view=rev&rev=1052
Author:   tach
Date:     2009-03-03 16:33:02 +0900 (Tue, 03 Mar 2009)

Log Message:
-----------
Fix firehose story link useless use of shtml

Modified Paths:
--------------
    slashjp/trunk/debian/changelog
    slashjp/trunk/plugins/FireHose/FireHose.pm


-------------- next part --------------
Modified: slashjp/trunk/debian/changelog
===================================================================
--- slashjp/trunk/debian/changelog	2009-03-03 05:45:06 UTC (rev 1051)
+++ slashjp/trunk/debian/changelog	2009-03-03 07:33:02 UTC (rev 1052)
@@ -33,8 +33,9 @@
   * Fix: /firehose.pl:Slash::Utility::Display:/usr/lib/perl5/Slash/Utility/Display.pm:526:cannot
     getSkin for empty skid ;; Which was called
     by:Slash::FireHose:/usr/share/perl5/Slash/FireHose.pm:3321
+  * Fix firehose story link useless use of shtml
 
- -- Taku YASUI <tach****@osdn*****>  Tue,  3 Mar 2009 05:44:33 +0000
+ -- Taku YASUI <tach****@osdn*****>  Tue,  3 Mar 2009 07:31:29 +0000
 
 slash (2.5.0.233-4) unstable; urgency=low
 

Modified: slashjp/trunk/plugins/FireHose/FireHose.pm
===================================================================
--- slashjp/trunk/plugins/FireHose/FireHose.pm	2009-03-03 05:45:06 UTC (rev 1051)
+++ slashjp/trunk/plugins/FireHose/FireHose.pm	2009-03-03 07:33:02 UTC (rev 1052)
@@ -1942,6 +1942,7 @@
 sub dispFireHose {
 	my($self, $item, $options) = @_;
 	my $constants = getCurrentStatic();
+	my $user = getCurrentUser();
 	$options ||= {};
 	my $mcd = $self->getMCD();
 	my $mcdkey;
@@ -1967,7 +1968,7 @@
 		view_mode		=> $options->{view_mode}
 	}, { Page => "firehose",  Return => 1 });
 
-	if ($mcd) {
+	if (!$user->{is_anon} && $mcd) {
 		$mcdkey = $self->genFireHoseMCDKey($item->{id}, $options);
 		if ($mcdkey) {
 			my $exptime = $constants->{firehose_memcached_disp_exptime} || 180;



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