Skip to content

Commit

Permalink
Remove deprecated and unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
evilaliv3 committed Dec 29, 2023
1 parent 1d48918 commit 187084e
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions client/app/js/services.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,14 +171,6 @@ factory("Authentication",
}
};

self.hasUserRole = function() {
if (angular.isUndefined(self.session)) {
return false;
}

return ["admin", "receiver", "custodian"].indexOf(self.session.role) !== -1;
};

self.get_headers = function() {
var h = {};

Expand Down

0 comments on commit 187084e

Please sign in to comment.