X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiUpload.php;h=62d888289859ca7e92fe6bd64c52f26a53ad19bc;hb=e6696ed61129be255ba5e6032c2eadcab85ed3b8;hp=d6ad7f382de771ce78e1a93763cb6a2cd36cbc63;hpb=29790fbc0492428db6fcc3c3b9db09ea14ecabb6;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiUpload.php b/includes/api/ApiUpload.php index d6ad7f382d..62d8882898 100644 --- a/includes/api/ApiUpload.php +++ b/includes/api/ApiUpload.php @@ -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' );