Permalink
Browse files

Bugfix and feature temporary turn-off.

  • Loading branch information...
1 parent 9ac99e2 commit fb7939272109a9700aebcf2417d8f7ee09758cb1 @jamiemccarthy jamiemccarthy committed May 8, 2003
Showing with 6 additions and 2 deletions.
  1. +6 −2 Slash/Slash.pm
View
@@ -526,10 +526,14 @@ sub printComments {
# Get the Comments
my $sco = { force_read_from_master => $options->{force_read_from_master} || 0 };
$sco->{one_cid_only} = 1 if $cidorpid && (
- $user->{mode} eq 'flat'
- || $user->{mode} eq 'nocomment'
+ $user->{mode} eq 'nocomment'
+ || ( $user->{mode} eq 'flat' && $user->{commentsort} > 3 )
|| $options->{just_submitted}
);
+ # For now, until we are able to pull hitparade into discussions so we can
+ # read it here, don't use the one_cid_only optimization feature.
+ $sco->{one_cid_only} = 0;
+
my($comments, $count) = selectComments($discussion, $cidorpid, $sco);
if ($cidorpid && !exists($comments->{$cidorpid})) {

0 comments on commit fb79392

Please sign in to comment.