Skip to content

Commit

Permalink
MDL-20410: remove set_focuscontrol
Browse files Browse the repository at this point in the history
  • Loading branch information
rwijaya committed Oct 1, 2010
1 parent 263819c commit 6b15734
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mod/forum/post.php
Original file line number Diff line number Diff line change
Expand Up @@ -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"));
Expand Down Expand Up @@ -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();

Expand Down

0 comments on commit 6b15734

Please sign in to comment.