Warn admins in the webui if they use the filesystem backend

This commit is contained in:
Johannes Zellner
2016-10-11 10:32:05 +02:00
parent d7ea06e80e
commit 1fc16d0fe8
2 changed files with 18 additions and 0 deletions

View File

@@ -165,6 +165,7 @@ angular.module('Application').service('Client', ['$http', 'md5', 'Notification',
if (type === 'error') Notification.error(options);
else if (type === 'success') Notification.success(options);
else if (type === 'info') Notification.info(options);
else if (type === 'warning') Notification.warning(options);
else throw('Invalid notification type "' + type + '"');
};