[Slashdotjp-dev 1057] [584] Fix: comment count fail when user hardthresh setting is enabled

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2008年 4月 16日 (水) 17:27:36 JST


Revision: 584
          http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=slashdotjp&view=rev&rev=584
Author:   tach
Date:     2008-04-16 17:27:36 +0900 (Wed, 16 Apr 2008)

Log Message:
-----------
Fix: comment count fail when user hardthresh setting is enabled

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


-------------- next part --------------
Modified: slashjp/trunk/Slash/DB/MySQL/MySQL.pm
===================================================================
--- slashjp/trunk/Slash/DB/MySQL/MySQL.pm	2008-04-16 08:14:42 UTC (rev 583)
+++ slashjp/trunk/Slash/DB/MySQL/MySQL.pm	2008-04-16 08:27:36 UTC (rev 584)
@@ -6128,7 +6128,7 @@
 
 	if ($cid && $one_cid_only) {
 		$where .= "AND cid=$cid";
-	} elsif ($user->{hardthresh} && !$options->{discussion2}) {
+	} elsif (0 && $user->{hardthresh} && !$options->{discussion2}) {
 		my $threshold_q = $self->sqlQuote($user->{threshold});
 		$where .= "AND (comments.points >= $threshold_q";
 		$where .= "  OR comments.uid=$user->{uid}"	unless $user->{is_anon};

Modified: slashjp/trunk/debian/changelog
===================================================================
--- slashjp/trunk/debian/changelog	2008-04-16 08:14:42 UTC (rev 583)
+++ slashjp/trunk/debian/changelog	2008-04-16 08:27:36 UTC (rev 584)
@@ -3,8 +3,9 @@
   * New upstream CVS release
   * Allow to show AC info for admin user
   * Fix: user karma_bonus settings are vanished...
+  * Fix: comment count fail when user hardthresh setting is enabled
 
- -- Taku YASUI <tach****@osdn*****>  Wed, 16 Apr 2008 07:32:44 +0000
+ -- Taku YASUI <tach****@osdn*****>  Wed, 16 Apr 2008 08:25:38 +0000
 
 slash (2.5.0.200-1) unstable; urgency=low
 


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