Permalink
Browse files

MDL-36263 Assignment: Fix backport for counting submissions of unenro…

…lled students
  • Loading branch information...
1 parent 40c1230 commit 6a1bcbfdabbb8e8f35516971065b6700ac90e9f3 @damyon damyon committed Dec 13, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 mod/assign/locallib.php
View
@@ -1100,8 +1100,7 @@ public function count_submissions_with_status($status) {
WHERE
s.assignment = :assignid AND
s.timemodified IS NOT NULL AND
- s.status = :submissionstatus AND
- (s.timemodified > g.timemodified OR g.timemodified IS NULL)';
+ s.status = :submissionstatus';
return $DB->count_records_sql($sql, $params);
}

0 comments on commit 6a1bcbf

Please sign in to comment.