Browse Source

tus: remove moved upload-started events

ap-- 7 years ago
parent
commit
0bcb347fe4
1 changed files with 0 additions and 5 deletions
  1. 0 5
      src/plugins/Tus.js

+ 0 - 5
src/plugins/Tus.js

@@ -203,9 +203,6 @@ module.exports = class Tus extends Plugin {
       if (!file.isPaused) {
         upload.start()
       }
-      if (!file.isRestored) {
-        this.uppy.emit('upload-started', file, upload)
-      }
     })
   }
 
@@ -227,8 +224,6 @@ module.exports = class Tus extends Plugin {
           .catch(reject)
       }
 
-      this.uppy.emit('upload-started', file)
-
       fetch(file.remote.url, {
         method: 'post',
         credentials: 'include',