Index: trunk/phase3/includes/Title.php |
— | — | @@ -4119,7 +4119,7 @@ |
4120 | 4120 | |
4121 | 4121 | $types = $this->exists() ? $wgRestrictionTypes : array( 'create' ); |
4122 | 4122 | |
4123 | | - if ( $this->getNamespace() != NS_FILE && in_array( 'upload', $types ) ) { |
| 4123 | + if ( $this->getNamespace() != NS_FILE ) { |
4124 | 4124 | $types = array_diff( $types, array( 'upload' ) ); |
4125 | 4125 | } |
4126 | 4126 | |