Remove deprecated rows and columns argument support from HtmlEditorField

Use setColumns() and setRows() instead
This commit is contained in:
Sean Harvey 2012-11-15 12:15:40 +13:00
parent b3b071a05a
commit 4d110809d9

View File

@ -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();