dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Localisation updates from https://translatewiki.net.
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiUpload.php
diff --git
a/includes/api/ApiUpload.php
b/includes/api/ApiUpload.php
index
b15b998
..
373ec11
100644
(file)
--- a/
includes/api/ApiUpload.php
+++ b/
includes/api/ApiUpload.php
@@
-794,6
+794,7
@@
class ApiUpload extends ApiBase {
}
// No errors, no warnings: do the upload
+ $result = [];
if ( $this->mParams['async'] ) {
$progress = UploadBase::getSessionStatus( $this->getUser(), $this->mParams['filekey'] );
if ( $progress && $progress['result'] === 'Poll' ) {