summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/files/js/file-upload.js4
1 files changed, 0 insertions, 4 deletions
diff --git a/apps/files/js/file-upload.js b/apps/files/js/file-upload.js
index e07093dd17b..69a39d37079 100644
--- a/apps/files/js/file-upload.js
+++ b/apps/files/js/file-upload.js
@@ -347,10 +347,6 @@ OC.Upload = {
//file is a directory
dirUploadFailure = true;
}
- if (file.size === 0) {
- // file is empty or a directory
- dirUploadFailure = true;
- }
if (dirUploadFailure) {
data.textStatus = 'dirorzero';