From: Mark A. Hershberger Date: Mon, 15 Feb 2010 17:50:35 +0000 (+0000) Subject: follow-up r62498 — use the new functionality of requireOnlyOneParameter of allowing... X-Git-Tag: 1.31.0-rc.0~37749 X-Git-Url: http://git.cyclocoop.org/fichier?a=commitdiff_plain;h=293641976aa0daf724caf3fc7a0c2c08e3252b2a;p=lhc%2Fweb%2Fwiklou.git follow-up r62498 — use the new functionality of requireOnlyOneParameter of allowing “false” defaults --- 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,