[Slashdotjp-dev 1351] [882] Disable post using "postanon" by logged_in users to "logged_in" type discussions

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2008年 12月 15日 (月) 17:18:11 JST


Revision: 882
          http://svn.sourceforge.jp/view?root=slashdotjp&view=rev&rev=882
Author:   tach
Date:     2008-12-15 17:18:11 +0900 (Mon, 15 Dec 2008)

Log Message:
-----------
Disable post using "postanon" by logged_in users to "logged_in" type discussions
(closes: http://sourceforge.jp/ticket/browse.php?group_id=4&tid=12699 )

Modified Paths:
--------------
    slashjp/branches/2.5.0.192/debian/changelog
    slashjp/branches/2.5.0.192/themes/slashcode/htdocs/comments.pl


-------------- next part --------------
Modified: slashjp/branches/2.5.0.192/debian/changelog
===================================================================
--- slashjp/branches/2.5.0.192/debian/changelog	2008-12-15 08:00:17 UTC (rev 881)
+++ slashjp/branches/2.5.0.192/debian/changelog	2008-12-15 08:18:11 UTC (rev 882)
@@ -1,8 +1,10 @@
 slash (2.5.0.192-22) unstable; urgency=low
 
-  * NOT RELEASED YET
+  * Disable post using "postanon" by logged_in users to "logged_in" type
+    discussions
+    (closes: http://sourceforge.jp/ticket/browse.php?group_id=4&tid=12699 )
 
- -- Taku YASUI <tach****@osdn*****>  Wed, 26 Nov 2008 08:09:06 +0000
+ -- Taku YASUI <tach****@osdn*****>  Mon, 15 Dec 2008 08:15:52 +0000
 
 slash (2.5.0.192-21) unstable; urgency=low
 

Modified: slashjp/branches/2.5.0.192/themes/slashcode/htdocs/comments.pl
===================================================================
--- slashjp/branches/2.5.0.192/themes/slashcode/htdocs/comments.pl	2008-12-15 08:00:17 UTC (rev 881)
+++ slashjp/branches/2.5.0.192/themes/slashcode/htdocs/comments.pl	2008-12-15 08:18:11 UTC (rev 882)
@@ -1125,9 +1125,11 @@
 	if ($form->{postanon}
 		&& $reader->checkAllowAnonymousPosting()
 		&& $user->{karma} > -1
-		&& ($discussion->{commentstatus} eq 'enabled'
-			||
-		    $discussion->{commentstatus} eq 'logged_in')) {
+# disable post using "postanon" by logged_in users (2008-12-15, tach****@slash*****)
+#		&& ($discussion->{commentstatus} eq 'enabled'
+#			||
+#		    $discussion->{commentstatus} eq 'logged_in')) {
+		&& $discussion->{commentstatus} eq 'enabled') {
 		$posters_uid = getCurrentAnonymousCoward('uid');
 	}
 


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