[Slashdotjp-dev 1380] [911] bypass reskey check on insertFireHose() at Journal.pm

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2008年 12月 29日 (月) 23:52:09 JST


Revision: 911
          http://svn.sourceforge.jp/view?root=slashdotjp&view=rev&rev=911
Author:   tach
Date:     2008-12-29 23:52:09 +0900 (Mon, 29 Dec 2008)

Log Message:
-----------
bypass reskey check on insertFireHose() at Journal.pm

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


-------------- next part --------------
Modified: slashjp/trunk/debian/changelog
===================================================================
--- slashjp/trunk/debian/changelog	2008-12-27 11:04:45 UTC (rev 910)
+++ slashjp/trunk/debian/changelog	2008-12-29 14:52:09 UTC (rev 911)
@@ -5,8 +5,9 @@
   * Disable "getAd()"
   * Fix to change firehose default tab name
   * Fix to use getData() for moderation message using ajax.pl
+  * bypass reskey check on insertFireHose() at Journal.pm
 
- -- Taku YASUI <tach****@osdn*****>  Sat, 27 Dec 2008 11:04:05 +0000
+ -- Taku YASUI <tach****@osdn*****>  Mon, 29 Dec 2008 14:51:26 +0000
 
 slash (2.5.0.231-1) unstable; urgency=low
 

Modified: slashjp/trunk/plugins/Journal/Journal.pm
===================================================================
--- slashjp/trunk/plugins/Journal/Journal.pm	2008-12-27 11:04:45 UTC (rev 910)
+++ slashjp/trunk/plugins/Journal/Journal.pm	2008-12-29 14:52:09 UTC (rev 911)
@@ -50,7 +50,8 @@
 
 	return unless getCurrentStatic()->{plugin}{FireHose};
 
-	if ($promotetype ne 'post') {
+	# bypass reskey check (slashdot.jp, 2008-12-29)
+	if (0 && $promotetype ne 'post') {
 		my $reskey = getObject('Slash::ResKey');
 		my $rkey = $reskey->key('submit', { nostate => 1 });
 		if (!$rkey || !$rkey->createuse) {


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