Skip to content

Commit

Permalink
Not plural
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianAker committed Mar 18, 2002
1 parent fa70786 commit bbdb241
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/Stats/Stats.pm
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ sub countDailyComments {
sub countDailyArticles {
my($self, $yesterday) = @_;
$self->sqlSelect("count(*)", "accesslog",
"op='articles' AND ts BETWEEN '$yesterday 00:00' AND '$yesterday 23:59:59'",
"op='article' AND ts BETWEEN '$yesterday 00:00' AND '$yesterday 23:59:59'",
'');
}

Expand All @@ -179,7 +179,7 @@ sub countDailyCommentsByDistinctIPID {
sub countDailyArticlesByDistinctIPID {
my($self, $yesterday) = @_;
$self->sqlSelect("count(*)", "accesslog",
"op='articles' AND ts BETWEEN '$yesterday 00:00' AND '$yesterday 23:59:59'",
"op='article' AND ts BETWEEN '$yesterday 00:00' AND '$yesterday 23:59:59'",
'',
{distinct => 1});
}
Expand Down

0 comments on commit bbdb241

Please sign in to comment.