From: Reedy Date: Thu, 17 Nov 2016 22:36:09 +0000 (+0000) Subject: registration: Set "FileExtensions" to $GLOBALS X-Git-Tag: 1.31.0-rc.0~4827 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/%7B%7B%20url_for%28%27vote%27%2C%20idvote=vote.voteid%29%20%7D%7D?a=commitdiff_plain;h=ad86dda42f694b908b6856d860cbde08aedb145c;p=lhc%2Fweb%2Fwiklou.git registration: Set "FileExtensions" to $GLOBALS Change-Id: Ie52004d25ebc06c81cd7d8d7de60479ff365ccea --- diff --git a/docs/extension.schema.json b/docs/extension.schema.json index 38b5dea02f..638ee5d860 100644 --- a/docs/extension.schema.json +++ b/docs/extension.schema.json @@ -650,6 +650,10 @@ "type": "object", "description": "Password policies" }, + "FileExtensions": { + "type": "object", + "description": "Preferred file extensions for uploading" + }, "callback": { "type": [ "array", diff --git a/docs/extension.schema.v1.json b/docs/extension.schema.v1.json index f7c0a2b4eb..4d5c44f692 100644 --- a/docs/extension.schema.v1.json +++ b/docs/extension.schema.v1.json @@ -640,6 +640,10 @@ "type": "object", "description": "Password policies" }, + "FileExtensions": { + "type": "object", + "description": "Preferred file extensions for uploading" + }, "callback": { "type": [ "array", diff --git a/includes/registration/ExtensionProcessor.php b/includes/registration/ExtensionProcessor.php index 8fa71be855..207f88423e 100644 --- a/includes/registration/ExtensionProcessor.php +++ b/includes/registration/ExtensionProcessor.php @@ -26,6 +26,7 @@ class ExtensionProcessor implements Processor { 'ExtensionEntryPointListFiles', 'ExtensionFunctions', 'FeedClasses', + 'FileExtensions', 'FilterLogTypes', 'GrantPermissionGroups', 'GrantPermissions',