Skip to content

Commit

Permalink
Fix AllViewed issue in MySQL strict mode
Browse files Browse the repository at this point in the history
  • Loading branch information
linc committed Oct 10, 2011
1 parent 94a90a7 commit 45151b4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion plugins/AllViewed/class.allviewed.plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ public function GetCommentCountSince($DiscussionID, $DateAllViewed) {

// Get new comment count
return $SQL
->Select('c.CommentID')
->From('Comment c')
->Where('DiscussionID', $DiscussionID)
->Where('DateInserted >', Gdn_Format::ToDateTime($DateAllViewed))
Expand Down

0 comments on commit 45151b4

Please sign in to comment.