From 293641976aa0daf724caf3fc7a0c2c08e3252b2a Mon Sep 17 00:00:00 2001 From: "Mark A. Hershberger" Date: Mon, 15 Feb 2010 17:50:35 +0000 Subject: [PATCH] =?utf8?q?follow-up=20r62498=20=E2=80=94=20use=20the=20new?= =?utf8?q?=20functionality=20of=20requireOnlyOneParameter=20of=20allowing?= =?utf8?q?=20=E2=80=9Cfalse=E2=80=9D=20defaults?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- includes/api/ApiUpload.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/api/ApiUpload.php b/includes/api/ApiUpload.php index f3458484e8..41742a9ea0 100644 --- a/includes/api/ApiUpload.php +++ b/includes/api/ApiUpload.php @@ -277,7 +277,7 @@ class ApiUpload extends ApiBase { 'watch' => false, 'ignorewarnings' => false, 'file' => null, - 'enablechunks' => null, /* must be null to work with requireOnlyOneParameter */ + 'enablechunks' => false, 'chunksession' => null, 'chunk' => null, 'done' => false, -- 2.20.1