dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 2:
204fe4c
)
Merge "user: Remove not needed array_values()"
author
jenkins-bot
<jenkins-bot@gerrit.wikimedia.org>
Wed, 27 Mar 2019 15:13:14 +0000
(15:13 +0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Wed, 27 Mar 2019 15:13:14 +0000
(15:13 +0000)
includes/api/ApiUpload.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiUpload.php
b/includes/api/ApiUpload.php
index
12ecd74
..
fc41e4e
100644
(file)
--- 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( 'api
error
-upload-missingresult', 'missingresult' );
} elseif ( !$progress['status']->isGood() ) {
$this->dieStatusWithCode( $progress['status'], 'stashfailed' );
}