MDL-21695 Dropping obsolete help from Forum post message field

This commit is contained in:
David Mudrak 2010-05-03 16:13:16 +00:00
parent 934291d6e6
commit e5ef56d21a

View File

@ -49,7 +49,6 @@ class mod_forum_post_form extends moodleform {
$mform->addElement('editor', 'message', get_string('message', 'forum'), null, $editoroptions); $mform->addElement('editor', 'message', get_string('message', 'forum'), null, $editoroptions);
$mform->setType('message', PARAM_RAW); $mform->setType('message', PARAM_RAW);
$mform->addRule('message', get_string('required'), 'required', null, 'client'); $mform->addRule('message', get_string('required'), 'required', null, 'client');
$mform->setHelpButton('message', array('reading', 'writing', 'questions', 'richtext2'), false, 'editorhelpbutton');
if (isset($forum->id) && forum_is_forcesubscribed($forum)) { if (isset($forum->id) && forum_is_forcesubscribed($forum)) {