Remove warning in case of external storage error

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
John Molakvoæ (skjnldsv) 2019-01-29 16:23:04 +01:00
parent 198a45ff75
commit 812567ae58
No known key found for this signature in database
GPG Key ID: 60C25B8C072916CF
1 changed files with 0 additions and 18 deletions

View File

@ -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();
}
});
},