Permalink
Browse files

BUGFIX: remove unnecessary write from uploading routine

  • Loading branch information...
1 parent 5d7f6a0 commit 47d7392e88568b0e3d1a3ee29787b7faaef2c1c7 @mateusz mateusz committed Apr 18, 2012
Showing with 0 additions and 1 deletion.
  1. +0 −1 forms/UploadField.php
@@ -477,7 +477,6 @@ public function upload(SS_HTTPRequest $request) {
} 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.

0 comments on commit 47d7392

Please sign in to comment.