Permalink
Browse files

MDL-35973 lib: added a page title to redirect() and added 2 seconds t…

…o the page redirection when posting in a forum
  • Loading branch information...
1 parent e71a533 commit 44b74479cb3953c6d2c30c0d244de8cbaf2c150d @andyjdavis andyjdavis committed Dec 30, 2013
Showing with 2 additions and 1 deletion.
  1. +1 −0 lib/weblib.php
  2. +1 −1 mod/forum/post.php
View
@@ -2550,6 +2550,7 @@ function redirect($url, $message='', $delay=-1) {
if ($PAGE) {
$PAGE->set_context(null);
$PAGE->set_pagelayout('redirect'); // No header and footer needed.
+ $PAGE->set_title(get_string('pageshouldredirect', 'moodle'));
}
if ($url instanceof moodle_url) {
View
@@ -790,7 +790,7 @@
}
if ($subscribemessage = forum_post_subscription($discussion, $forum)) {
- $timemessage = 4;
+ $timemessage = 6;
}
// Update completion status

0 comments on commit 44b7447

Please sign in to comment.