MDL-52063 forum: Moved notification is not a problem

The default behaviour of $OUTPUT->notification() is to indiciate a
problem.
This commit is contained in:
Dan Poltawski
2015-11-10 09:39:29 +00:00
parent 7e0516eab3
commit c773d10247
+1 -1
View File
@@ -349,7 +349,7 @@ if ($forum->type == 'qanda' && !has_capability('mod/forum:viewqandawithoutpostin
}
if ($move == -1 and confirm_sesskey()) {
echo $OUTPUT->notification(get_string('discussionmoved', 'forum', format_string($forum->name,true)));
echo $OUTPUT->notification(get_string('discussionmoved', 'forum', format_string($forum->name,true)), 'notifysuccess');
}
$canrate = has_capability('mod/forum:rate', $modcontext);