Disabled async "from-stash" upload for now.
authorAaron Schulz <aschulz@wikimedia.org>
Wed, 23 Jan 2013 01:10:11 +0000 (17:10 -0800)
committerAaron Schulz <aschulz@wikimedia.org>
Wed, 23 Jan 2013 01:13:45 +0000 (17:13 -0800)
Change-Id: I81076e55264746dcfe49d2c928d30042aba0c684

includes/api/ApiUpload.php

index 4afc8e7..1d7ba0f 100644 (file)
@@ -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' );