Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
integration
prechecker
Commits
8535cc18
Commit
8535cc18
authored
Nov 10, 2015
by
Dan Poltawski
Browse files
MDL-52063 forum: Moved notification is not a problem
The default behaviour of $OUTPUT->notification() is to indiciate a problem.
parent
e74ff55f
Changes
1
Hide whitespace changes
Inline
Side-by-side
mod/forum/discuss.php
View file @
8535cc18
...
...
@@ -355,7 +355,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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment