Browse Source

Remove FxA dialog on file too big error

Romain Hv 4 years ago
parent
commit
f58597cece
1 changed files with 0 additions and 3 deletions
  1. 0 3
      app/controller.js

+ 0 - 3
app/controller.js

@@ -101,9 +101,6 @@ export default function(state, emitter) {
         state.LIMITS.MAX_FILES_PER_ARCHIVE
       );
     } catch (e) {
-      if (e.message === 'fileTooBig' && maxSize < state.LIMITS.MAX_FILE_SIZE) {
-        return emitter.emit('signup-cta', 'size');
-      }
       state.modal = okDialog(
         state.translate(e.message, {
           size: bytes(maxSize),