From: Aaron Schulz Date: Wed, 23 Jan 2013 01:10:11 +0000 (-0800) Subject: Disabled async "from-stash" upload for now. X-Git-Tag: 1.31.0-rc.0~20949 X-Git-Url: https://git.cyclocoop.org/%28%28?a=commitdiff_plain;h=2a4ad3e32cf4f6814554ebcf09ac0250546a2549;p=lhc%2Fweb%2Fwiklou.git Disabled async "from-stash" upload for now. Change-Id: I81076e55264746dcfe49d2c928d30042aba0c684 --- diff --git a/includes/api/ApiUpload.php b/includes/api/ApiUpload.php index 4afc8e72b8..1d7ba0fe08 100644 --- a/includes/api/ApiUpload.php +++ b/includes/api/ApiUpload.php @@ -53,6 +53,7 @@ class ApiUpload extends ApiBase { $request = $this->getMain()->getRequest(); // Check if async mode is actually supported $this->mParams['async'] = ( $this->mParams['async'] && !wfIsWindows() ); + $this->mParams['async'] = false; // XXX: disabled per bug 44080 // Add the uploaded file to the params array $this->mParams['file'] = $request->getFileName( 'file' ); $this->mParams['chunk'] = $request->getFileName( 'chunk' );