Log mute actions
This commit is contained in:
parent
3ff2ec9104
commit
9381015d80
1 changed files with 1 additions and 0 deletions
|
@ -26,6 +26,7 @@ if "_" not in locals():
|
||||||
class UiWebsocketPlugin(object):
|
class UiWebsocketPlugin(object):
|
||||||
# Search and remove or readd files of an user
|
# Search and remove or readd files of an user
|
||||||
def changeDb(self, auth_address, action):
|
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(
|
res = self.site.content_manager.contents.db.execute(
|
||||||
"SELECT * FROM content LEFT JOIN site USING (site_id) WHERE inner_path LIKE :inner_path",
|
"SELECT * FROM content LEFT JOIN site USING (site_id) WHERE inner_path LIKE :inner_path",
|
||||||
{"inner_path": "%%/%s/%%" % auth_address}
|
{"inner_path": "%%/%s/%%" % auth_address}
|
||||||
|
|
Loading…
Reference in a new issue