Skip to content
Browse files

MDL-20410: remove set_focuscontrol

  • Loading branch information...
1 parent 263819c commit 6b15734d56bd2d31fc4c9a123f517caa31089bd9 Rossiani Wijaya committed
Showing with 1 addition and 2 deletions.
  1. +1 −2 mod/forum/post.php
View
3 mod/forum/post.php
@@ -310,7 +310,7 @@
print_error("cannotdeletepost", "forum",
forum_go_back_to("discuss.php?d=$post->discussion"));
}
-
+
if ($post->totalscore) {
notice(get_string('couldnotdeleteratings', 'rating'),
forum_go_back_to("discuss.php?d=$post->discussion"));
@@ -813,7 +813,6 @@
$PAGE->set_title("$course->shortname: $strdiscussionname ".format_string($toppost->subject));
$PAGE->set_heading($course->fullname);
-$PAGE->set_focuscontrol($mform_post->focus($forcefocus));
echo $OUTPUT->header();

0 comments on commit 6b15734

Please sign in to comment.
Something went wrong with that request. Please try again.