Remove unused angular filter for accessRestrictionLabel

This commit is contained in:
Johannes Zellner
2015-10-13 15:09:56 +02:00
parent ca461057e7
commit bc6f602891

View File

@@ -143,16 +143,6 @@ app.filter('applicationLink', function() {
};
});
app.filter('accessRestrictionLabel', function() {
return function (input) {
if (input === '') return 'public';
if (input === 'roleUser') return 'private';
if (input === 'roleAdmin') return 'private (Admins only)';
return input;
};
});
app.filter('prettyHref', function () {
return function (input) {
if (!input) return input;