Removing deprecated variables from FileField

This commit is contained in:
Sean Harvey 2012-11-15 11:33:10 +13:00
parent 0a5d43f1b3
commit a9d7c9e2a6

View File

@ -43,30 +43,6 @@
*/
class FileField extends FormField {
/**
* Restrict filesize for either all filetypes
* or a specific extension, with extension-name
* as array-key and the size-restriction in bytes as array-value.
*
* @deprecated 2.5
* @var array
*/
public $allowedMaxFileSize = array();
/**
* @var array Collection of extensions.
* Extension-names are treated case-insensitive.
*
* Example:
* <code>
* array("jpg","GIF")
* </code>
*
* @deprecated 2.5
* @var array
*/
public $allowedExtensions = array();
/**
* Flag to automatically determine and save a has_one-relationship
* on the saved record (e.g. a "Player" has_one "PlayerImage" would
@ -223,4 +199,4 @@ class FileField extends FormField {
$this->upload = $upload;
}
}
}