Merge branch 'MDL-39185_m23' of https://github.com/markn86/moodle into MOODLE_23_STABLE

This commit is contained in:
Sam Hemelryk
2013-04-19 13:53:19 +12:00
+2 -1
View File
@@ -156,9 +156,10 @@
}
if (!empty($forum->blockafter) && !empty($forum->blockperiod)) {
$a = new stdClass();
$a->blockafter = $forum->blockafter;
$a->blockperiod = get_string('secondstotime'.$forum->blockperiod);
echo $OUTPUT->notification(get_string('thisforumisthrottled','forum',$a));
echo $OUTPUT->notification(get_string('thisforumisthrottled', 'forum', $a));
}
if ($forum->type == 'qanda' && !has_capability('moodle/course:manageactivities', $context)) {