mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR Revert folderName change to UploadField (already exists on
FileField parent)
This commit is contained in:
parent
0ad6fe7ec1
commit
4da42f2baf
@ -44,11 +44,6 @@ class UploadField extends FileField {
|
||||
'$Action!' => '$Action',
|
||||
);
|
||||
|
||||
/**
|
||||
* @var String
|
||||
*/
|
||||
protected $folderName;
|
||||
|
||||
/**
|
||||
* @var String
|
||||
*/
|
||||
@ -149,14 +144,6 @@ class UploadField extends FileField {
|
||||
$this->getValidator()->setAllowedMaxFileSize(min(File::ini2bytes(ini_get('upload_max_filesize')), File::ini2bytes(ini_get('post_max_size')))); // get the lower max size
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the folder name to upload to (relative to ASSETS_PATH)
|
||||
* @param string $name Name of folder
|
||||
*/
|
||||
public function setFolderName($name) {
|
||||
$this->folderName = $name;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set name of template used for Buttons on each file (replace, edit, remove, delete) (without path or extension)
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user