From 05c5917044d8251b519353892eb244610a3a2029 Mon Sep 17 00:00:00 2001 From: Romain H Date: Sat, 6 Mar 2021 12:15:20 +0100 Subject: [PATCH] remove reference to Firefox account when file is too big (#5138) --- app/controller.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/controller.js b/app/controller.js index c7c0769c..52706e28 100644 --- a/app/controller.js +++ b/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),