aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/usermanager.lua5
1 files changed, 0 insertions, 5 deletions
diff --git a/core/usermanager.lua b/core/usermanager.lua
index 09beb6d4..9adf1f25 100644
--- a/core/usermanager.lua
+++ b/core/usermanager.lua
@@ -43,11 +43,6 @@ local global_admins = set.new(global_admins_config) / jid_prep;
local admin_role = { ["prosody:admin"] = true };
local global_authz_provider = {
get_user_roles = function (user) end; --luacheck: ignore 212/user
- get_jid_roles = function (jid)
- if global_admins:contains(jid) then
- return admin_role;
- end
- end;
get_jids_with_role = function (role)
if role ~= "prosody:admin" then return {}; end
return it.to_array(global_admins);