From 1863b71e11d7d80ad038361cb72c6058eed42abe Mon Sep 17 00:00:00 2001 From: Andrew Garrett Date: Fri, 6 Nov 2009 10:31:09 +0000 Subject: [PATCH] Remove upload from wgRestrictionTypes, it is added as a special case in getProtectionTypes --- includes/DefaultSettings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 3a04e45c1d..0b3e182d3b 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -1452,7 +1452,7 @@ $wgGroupsRemoveFromSelf = array(); * You probably shouldn't change this. * Translated through restriction-* messages. */ -$wgRestrictionTypes = array( 'edit', 'move', 'upload' ); +$wgRestrictionTypes = array( 'edit', 'move' ); /** * Rights which can be required for each protection level (via action=protect) -- 2.20.1