Permalink
Browse files

Removed deprecated arguments of row, cols to TextareaField

Use setColumns() and setRows() instead
  • Loading branch information...
1 parent 4d11080 commit 4c803a2049bc8fa2d91320e50c79bb864ddbf634 @halkyon halkyon committed Nov 15, 2012
Showing with 0 additions and 15 deletions.
  1. +0 −15 forms/TextareaField.php
View
15 forms/TextareaField.php
@@ -32,21 +32,6 @@ class TextareaField extends FormField {
*/
protected $cols = 20;
- /**
- * Create a new textarea field.
- *
- * @param $name Field name
- * @param $title Field title
- * @param $value The current 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');
- }
-
- parent::__construct($name, $title, $value);
- }
-
public function getAttributes() {
return array_merge(
parent::getAttributes(),

0 comments on commit 4c803a2

Please sign in to comment.