Skip to content

Commit

Permalink
MDL-58573 mod_assign: Whitespace fix
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewnicols committed Apr 28, 2017
1 parent 8374422 commit 847d88b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mod/assign/db/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -299,9 +299,9 @@ function xmldb_assign_upgrade($oldversion) {
if ($oldversion < 2017042800) {
// Update query to set the grading due date one week after the due date.
// Only assign instances with grading due date not set and with a due date of not older than 3 weeks will be updated.
$sql = "UPDATE {assign}
SET gradingduedate = duedate + :weeksecs
WHERE gradingduedate = 0
$sql = "UPDATE {assign}
SET gradingduedate = duedate + :weeksecs
WHERE gradingduedate = 0
AND duedate > :timelimit";

// Calculate the time limit, which is 3 weeks before the current date.
Expand Down

0 comments on commit 847d88b

Please sign in to comment.