From 9381015d809013b7ff7cde3c143f42a4c251b41d Mon Sep 17 00:00:00 2001 From: shortcutme Date: Mon, 13 Feb 2017 16:27:42 +0100 Subject: [PATCH] Log mute actions --- plugins/Mute/MutePlugin.py | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/Mute/MutePlugin.py b/plugins/Mute/MutePlugin.py index af967d25..be58942e 100644 --- a/plugins/Mute/MutePlugin.py +++ b/plugins/Mute/MutePlugin.py @@ -26,6 +26,7 @@ if "_" not in locals(): class UiWebsocketPlugin(object): # Search and remove or readd files of an user def changeDb(self, auth_address, action): + self.log.debug("Mute action %s on user %s" % (action, auth_address)) res = self.site.content_manager.contents.db.execute( "SELECT * FROM content LEFT JOIN site USING (site_id) WHERE inner_path LIKE :inner_path", {"inner_path": "%%/%s/%%" % auth_address}