Skip to content

Commit

Permalink
MINOR Revert folderName change to UploadField (already exists on
Browse files Browse the repository at this point in the history
FileField parent)
  • Loading branch information
Sean Harvey committed Mar 22, 2012
1 parent 0ad6fe7 commit 4da42f2
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions forms/UploadField.php
Expand Up @@ -44,11 +44,6 @@ class UploadField extends FileField {
'$Action!' => '$Action',
);

/**
* @var String
*/
protected $folderName;

/**
* @var String
*/
Expand Down Expand Up @@ -149,14 +144,6 @@ public function __construct($name, $title = null, SS_List $items = null) {
$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)
*
Expand Down

0 comments on commit 4da42f2

Please sign in to comment.