Merge branch 'MDL-37894_24' of git://github.com/timhunt/moodle into MOODLE_24_STABLE
This commit is contained in:
@@ -47,6 +47,9 @@ class quizaccess_openclosedate extends quiz_access_rule_base {
|
||||
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));
|
||||
|
||||
Reference in New Issue
Block a user