From 812567ae58b507733b0aaa0dd223af82218690fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Molakvo=C3=A6=20=28skjnldsv=29?= Date: Tue, 29 Jan 2019 16:23:04 +0100 Subject: [PATCH] Remove warning in case of external storage error MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ (skjnldsv) --- apps/files_external/js/statusmanager.js | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/apps/files_external/js/statusmanager.js b/apps/files_external/js/statusmanager.js index b4e89bd623..7a3ecda76b 100644 --- a/apps/files_external/js/statusmanager.js +++ b/apps/files_external/js/statusmanager.js @@ -288,24 +288,6 @@ OCA.Files_External.StatusManager = { }; ajaxQueue.push(queueElement); }); - - var rolQueue = new OCA.Files_External.StatusManager.RollingQueue(ajaxQueue, 4, function () { - if (!self.notificationHasShown) { - var showNotification = false; - $.each(self.mountStatus, function (key, value) { - if (value.status === 1) { - self.notificationHasShown = true; - showNotification = true; - } - }); - if (showNotification) { - OC.Notification.show(t('files_external', 'Some of the configured external mount points are not connected. Please click on the red row(s) for more information'), - {type: 'error'} - ); - } - } - }); - rolQueue.runQueue(); } }); },