Merge branch 'MDL-5875-master' of git://github.com/FMCorz/moodle
[moodle.git] / mod / forum / mod_form.php
index 5df7c0f..688c57b 100644 (file)
@@ -72,7 +72,6 @@ class mod_forum_mod_form extends moodleform_mod {
 
         $choices = get_max_upload_sizes($CFG->maxbytes, $COURSE->maxbytes);
         $choices[1] = get_string('uploadnotallowed');
-        $choices[0] = get_string('courseuploadlimit') . ' ('.display_size($COURSE->maxbytes).')';
         $mform->addElement('select', 'maxbytes', get_string('maxattachmentsize', 'forum'), $choices);
         $mform->addHelpButton('maxbytes', 'maxattachmentsize', 'forum');
         $mform->setDefault('maxbytes', $CFG->forum_maxbytes);