From ad86dda42f694b908b6856d860cbde08aedb145c Mon Sep 17 00:00:00 2001 From: Reedy Date: Thu, 17 Nov 2016 22:36:09 +0000 Subject: [PATCH] registration: Set "FileExtensions" to $GLOBALS Change-Id: Ie52004d25ebc06c81cd7d8d7de60479ff365ccea --- docs/extension.schema.json | 4 ++++ docs/extension.schema.v1.json | 4 ++++ includes/registration/ExtensionProcessor.php | 1 + 3 files changed, 9 insertions(+) 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', -- 2.20.1