Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Don't send out notifications for hidden assignments until they are un…

…hidden

Bug 1259
  • Loading branch information...
commit c69cb506b8604eb77aefc94978d2ce36f3cf02d6 1 parent 9b690d2
moodler authored

Showing 1 changed file with 4 additions and 0 deletions. Show diff stats Hide diff stats

  1. +4 0 mod/assignment/lib.php
4 mod/assignment/lib.php
@@ -228,6 +228,10 @@ function assignment_cron () {
228 228 continue;
229 229 }
230 230
  231 + if (! $mod->visible) { /// Hold mail notification for hidden assignments until later
  232 + continue;
  233 + }
  234 +
231 235 $strassignments = get_string("modulenameplural", "assignment");
232 236 $strassignment = get_string("modulename", "assignment");
233 237

0 comments on commit c69cb50

Please sign in to comment.
Something went wrong with that request. Please try again.