# HG changeset patch # User Matthew Wild # Date 1660233419 -3600 # Node ID af315e5b71f0e15bf286ce9cfa5a0a8eadcf5e2c # Parent a5a0783e9241210af857f4c0adcc123833f1fdd8 usermanager: Remove obsolete function from global authz provider diff -r a5a0783e9241 -r af315e5b71f0 core/usermanager.lua --- a/core/usermanager.lua Thu Aug 11 16:47:09 2022 +0100 +++ b/core/usermanager.lua Thu Aug 11 16:56:59 2022 +0100 @@ -43,11 +43,6 @@ 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);