mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
BUGFIX: remove unnecessary write from uploading routine
This commit is contained in:
parent
5d7f6a0d69
commit
47d7392e88
@ -477,7 +477,6 @@ class UploadField extends FileField {
|
||||
} else {
|
||||
// The file has been uploaded successfully, attach it to the related record.
|
||||
$file = $this->upload->getFile();
|
||||
$file->write();
|
||||
$this->attachFile($file);
|
||||
|
||||
// Collect all output data.
|
||||
|
Loading…
x
Reference in New Issue
Block a user