Permalink
Browse files

Merge branch 'MDL-37894_23' of git://github.com/timhunt/moodle into M…

…OODLE_23_STABLE
  • Loading branch information...
2 parents a6a1b51 + a2eeb58 commit a5c0643a1dabdd372b3535b590fa67ce44d571a8 @stronk7 stronk7 committed Feb 19, 2013
Showing with 3 additions and 0 deletions.
  1. +3 −0 mod/quiz/accessrule/openclosedate/rule.php
@@ -47,6 +47,9 @@ public function description() {
if ($this->timenow < $this->quiz->timeopen) {
$result[] = get_string('quiznotavailable', 'quizaccess_openclosedate',
userdate($this->quiz->timeopen));
+ if ($this->quiz->timeclose) {
+ $result[] = get_string('quizcloseson', 'quiz', userdate($this->quiz->timeclose));
+ }
} else if ($this->quiz->timeclose && $this->timenow > $this->quiz->timeclose) {
$result[] = get_string('quizclosed', 'quiz', userdate($this->quiz->timeclose));

0 comments on commit a5c0643

Please sign in to comment.