Merge "Account for HiDPI variants in thumb.php rate limiting"
[lhc/web/wiklou.git] / includes / api / ApiUpload.php
index d6ad7f3..62d8882 100644 (file)
@@ -277,7 +277,7 @@ class ApiUpload extends ApiBase {
         */
        private function performStash() {
                try {
-                       $stashFile = $this->mUpload->stashFile();
+                       $stashFile = $this->mUpload->stashFile( $this->getUser() );
 
                        if ( !$stashFile ) {
                                throw new MWException( 'Invalid stashed file' );