From: Glaisher Date: Tue, 19 Apr 2016 13:12:18 +0000 (+0500) Subject: registration: Allow ActionFilteredLogs to be modified by extensions X-Git-Tag: 1.31.0-rc.0~7194^2 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/%7B%7B%20url_for%28%27admin_users%27%29%20%7D%7D?a=commitdiff_plain;h=2093748e0757dcf9ad67e743b2df14b10354b15f;p=lhc%2Fweb%2Fwiklou.git registration: Allow ActionFilteredLogs to be modified by extensions Needed by Ibe628d9d08352 Change-Id: I7788fedc934b7c93facead796af30c89c335a513 --- diff --git a/docs/extension.schema.json b/docs/extension.schema.json index 370e18e274..2f52582813 100644 --- a/docs/extension.schema.json +++ b/docs/extension.schema.json @@ -664,6 +664,23 @@ "FilterLogTypes": { "type": "object" }, + "ActionFilteredLogs": { + "type": "object", + "description": "List of log types which can be filtered by log actions", + "patternProperties": { + "^[a-z-]+$": { + "type": "object", + "patternProperties": { + "^[a-z-]+$": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + }, "LogNames": { "type": "object" }, diff --git a/includes/registration/ExtensionProcessor.php b/includes/registration/ExtensionProcessor.php index 7c60aa5af8..f977124cd4 100644 --- a/includes/registration/ExtensionProcessor.php +++ b/includes/registration/ExtensionProcessor.php @@ -34,6 +34,7 @@ class ExtensionProcessor implements Processor { 'LogTypes', 'LogRestrictions', 'FilterLogTypes', + 'ActionFilteredLogs', 'LogNames', 'LogHeaders', 'LogActions',