Skip to content

Commit

Permalink
Merge branch 'MDL-46539-fix-26' of https://github.com/jmarthaler/moodle
Browse files Browse the repository at this point in the history
… into MOODLE_26_STABLE
  • Loading branch information
marinaglancy committed Sep 1, 2014
2 parents 2b51c32 + 14a2ef2 commit 6e1fdb0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions mod/assign/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -896,6 +896,8 @@ function assign_cron() {
$class::cron();
}
}

return true;
}

/**
Expand Down
2 changes: 1 addition & 1 deletion mod/assign/locallib.php
Original file line number Diff line number Diff line change
Expand Up @@ -1576,7 +1576,7 @@ public static function cron() {
// Only ever send a max of one days worth of updates.
$yesterday = time() - (24 * 3600);
$timenow = time();
$lastcron = $DB->get_field('modules', 'lastcron', array('name'=>'mod_assign'));
$lastcron = $DB->get_field('modules', 'lastcron', array('name' => 'assign'));

// Collect all submissions from the past 24 hours that require mailing.
// Submissions are excluded if the assignment is hidden in the gradebook.
Expand Down

0 comments on commit 6e1fdb0

Please sign in to comment.