From c7ece2b1efbab88d78e513621309759efd384fdc Mon Sep 17 00:00:00 2001 From: Tomasz Muras Date: Mon, 8 Oct 2012 13:53:40 +0800 Subject: [PATCH] MDL-32092 Remove dead code from profile_field_textarea --- user/profile/field/textarea/field.class.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/user/profile/field/textarea/field.class.php b/user/profile/field/textarea/field.class.php index 2658a56437c..01885e738ab 100644 --- a/user/profile/field/textarea/field.class.php +++ b/user/profile/field/textarea/field.class.php @@ -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!