Remove dead code

This commit is contained in:
Johannes Zellner
2019-09-13 17:10:12 +02:00
parent 8f8aa31304
commit 849b9e0c80

View File

@@ -186,15 +186,6 @@ angular.module('Application').controller('AppsController', ['$scope', '$location
$scope.appPostInstallConfirm.confirmed = false;
};
$scope.renderAccessRestrictionUser = function (userId) {
var user = $scope.users.filter(function (u) { return u.id === userId; })[0];
// user not found
if (!user) return userId;
return user.username ? user.username : user.email;
};
function fetchUsers() {
Client.getUsers(function (error, users) {
if (error) {