From 87446c808a24767db9905ea55db341d3914df20a Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Thu, 10 Nov 2011 20:50:21 +0000 Subject: [PATCH] Documentation --- includes/api/ApiUpload.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/includes/api/ApiUpload.php b/includes/api/ApiUpload.php index 17262ec4a2..18117ddd35 100644 --- a/includes/api/ApiUpload.php +++ b/includes/api/ApiUpload.php @@ -222,9 +222,10 @@ class ApiUpload extends ApiBase { $request = $this->getMain()->getRequest(); // chunk or one and only one of the following parameters is needed - if(!$this->mParams['chunk']) + if( !$this->mParams['chunk'] ) { $this->requireOnlyOneParameter( $this->mParams, - 'filekey', 'file', 'url', 'statuskey' ); + 'filekey', 'file', 'url', 'statuskey' ); + } if ( $this->mParams['statuskey'] ) { $this->checkAsyncDownloadEnabled(); -- 2.20.1