From 4d110809d925b4d0b74d6f9781f92c5e37f14f04 Mon Sep 17 00:00:00 2001 From: Sean Harvey Date: Thu, 15 Nov 2012 12:15:40 +1300 Subject: [PATCH] Remove deprecated rows and columns argument support from HtmlEditorField Use setColumns() and setRows() instead --- forms/HtmlEditorField.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/forms/HtmlEditorField.php b/forms/HtmlEditorField.php index 23750ae01..c266b2d0e 100644 --- a/forms/HtmlEditorField.php +++ b/forms/HtmlEditorField.php @@ -46,11 +46,6 @@ class HtmlEditorField extends TextareaField { * @see TextareaField::__construct() */ public function __construct($name, $title = null, $value = '') { - if(count(func_get_args()) > 3) { - Deprecation::notice('3.0', 'Use setRows() and setColumns() instead of constructor arguments', - Deprecation::SCOPE_GLOBAL); - } - parent::__construct($name, $title, $value); self::include_js();