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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user