Permalink
Browse files

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

…hidden

Bug 1259
  • Loading branch information...
1 parent 9b690d2 commit c69cb506b8604eb77aefc94978d2ce36f3cf02d6 moodler committed Apr 24, 2004
Showing with 4 additions and 0 deletions.
  1. +4 −0 mod/assignment/lib.php
View
@@ -228,6 +228,10 @@ function assignment_cron () {
continue;
}
+ if (! $mod->visible) { /// Hold mail notification for hidden assignments until later
+ continue;
+ }
+
$strassignments = get_string("modulenameplural", "assignment");
$strassignment = get_string("modulename", "assignment");

0 comments on commit c69cb50

Please sign in to comment.