Skip to content

Commit

Permalink
Merge pull request #13891 from nextcloud/remove-external-failure-noti…
Browse files Browse the repository at this point in the history
…fication

Remove warning in case of external storage error
  • Loading branch information
MorrisJobke authored Jan 30, 2019
2 parents 95d1cf4 + 812567a commit fda74eb
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions apps/files_external/js/statusmanager.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
});
},
Expand Down

0 comments on commit fda74eb

Please sign in to comment.