Permalink
Browse files

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

…OODLE_24_STABLE
  • Loading branch information...
2 parents 097404c + fd8c97d commit 5ddaf0a8ffd72b68a164551bba6180a10a8c75bf @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 5ddaf0a

Please sign in to comment.