Skip to content

Commit

Permalink
Prevent errors when files were deleted manually
Browse files Browse the repository at this point in the history
  • Loading branch information
1josefnevoral committed Oct 15, 2014
1 parent 118fa9d commit 34de8cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ErrorCollector.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public function uploadFiles()
}

if ($this->errorStorage->save($fileName, $filePath, $fileType)) {
unlink($filePath);
@unlink($filePath);
}

$cnt++;
Expand Down

0 comments on commit 34de8cd

Please sign in to comment.