diff options
author | Kim Alvefur <zash@zash.se> | 2017-11-10 05:42:32 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2017-11-10 05:42:32 +0100 |
commit | 11b00845512b6af26000bd40dbf9f349f8886535 (patch) | |
tree | 9186c5db947b241b5590afab18bd6e720f95046a /util/pubsub.lua | |
parent | 599acace643b98ea99f64b2544591e65caa9c533 (diff) | |
download | prosody-11b00845512b6af26000bd40dbf9f349f8886535.tar.gz prosody-11b00845512b6af26000bd40dbf9f349f8886535.zip |
util: Various minor changes to please [luacheck]
Diffstat (limited to 'util/pubsub.lua')
-rw-r--r-- | util/pubsub.lua | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/util/pubsub.lua b/util/pubsub.lua index 2f42809e..8122e2f2 100644 --- a/util/pubsub.lua +++ b/util/pubsub.lua @@ -177,18 +177,6 @@ function service:remove_subscription(node, actor, jid) return true; end -function service:remove_all_subscriptions(actor, jid) - local normal_jid = self.config.normalize_jid(jid); - local subs = self.subscriptions[normal_jid] - subs = subs and subs[jid]; - if subs then - for node in pairs(subs) do - self:remove_subscription(node, true, jid); - end - end - return true; -end - function service:get_subscription(node, actor, jid) -- Access checking local cap; |