From fcaa4c0fdd766c63b2a84b8217ad67dcff5514e6 Mon Sep 17 00:00:00 2001 From: Umherirrender Date: Tue, 26 Mar 2019 22:44:05 +0100 Subject: [PATCH] Fix api error for apierror-upload-missingresult The message key was wrong Change-Id: I2cc4f9e1523bef6164eb9ff4b79655b007665fae --- includes/api/ApiUpload.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/api/ApiUpload.php b/includes/api/ApiUpload.php index 12ecd7411c..fc41e4ea6a 100644 --- a/includes/api/ApiUpload.php +++ b/includes/api/ApiUpload.php @@ -417,7 +417,7 @@ class ApiUpload extends ApiBase { if ( $this->mParams['filekey'] && $this->mParams['checkstatus'] ) { $progress = UploadBase::getSessionStatus( $this->getUser(), $this->mParams['filekey'] ); if ( !$progress ) { - $this->dieWithError( 'api-upload-missingresult', 'missingresult' ); + $this->dieWithError( 'apierror-upload-missingresult', 'missingresult' ); } elseif ( !$progress['status']->isGood() ) { $this->dieStatusWithCode( $progress['status'], 'stashfailed' ); } -- 2.20.1