MDL-32092 Remove dead code from profile_field_textarea

This commit is contained in:
Tomasz Muras
2012-10-08 13:53:40 +08:00
committed by Rossiani Wijaya
parent ccd90e765e
commit c7ece2b1ef
@@ -3,9 +3,6 @@
class profile_field_textarea extends profile_field_base {
function edit_field_add($mform) {
$cols = $this->field->param1;
$rows = $this->field->param2;
/// Create the form field
$mform->addElement('editor', $this->inputname, format_string($this->field->name), null, null);
$mform->setType($this->inputname, PARAM_RAW); // we MUST clean this before display!