Skip to content
This repository
Browse code

BUGFIX: remove unnecessary write from uploading routine

  • Loading branch information...
commit 47d7392e88568b0e3d1a3ee29787b7faaef2c1c7 1 parent 5d7f6a0
Mateusz U authored April 18, 2012

Showing 1 changed file with 0 additions and 1 deletion. Show diff stats Hide diff stats

  1. 1  forms/UploadField.php
1  forms/UploadField.php
@@ -477,7 +477,6 @@ public function upload(SS_HTTPRequest $request) {
477 477
 				} else {
478 478
 					// The file has been uploaded successfully, attach it to the related record.
479 479
 					$file = $this->upload->getFile();
480  
-					$file->write();
481 480
 					$this->attachFile($file);
482 481
 
483 482
 					// Collect all output data.

0 notes on commit 47d7392

Please sign in to comment.
Something went wrong with that request. Please try again.