mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Remove deprecated rows and columns argument support from HtmlEditorField
Use setColumns() and setRows() instead
This commit is contained in:
parent
b3b071a05a
commit
4d110809d9
@ -46,11 +46,6 @@ class HtmlEditorField extends TextareaField {
|
|||||||
* @see TextareaField::__construct()
|
* @see TextareaField::__construct()
|
||||||
*/
|
*/
|
||||||
public function __construct($name, $title = null, $value = '') {
|
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);
|
parent::__construct($name, $title, $value);
|
||||||
|
|
||||||
self::include_js();
|
self::include_js();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user