dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4173e50
)
fixed error msg
author
Michael Dale
<dale@users.mediawiki.org>
Wed, 15 Jul 2009 23:11:24 +0000
(23:11 +0000)
committer
Michael Dale
<dale@users.mediawiki.org>
Wed, 15 Jul 2009 23:11:24 +0000
(23:11 +0000)
includes/api/ApiUpload.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiUpload.php
b/includes/api/ApiUpload.php
index
3e86583
..
c604a6a
100644
(file)
--- a/
includes/api/ApiUpload.php
+++ b/
includes/api/ApiUpload.php
@@
-89,7
+89,7
@@
class ApiUpload extends ApiBase {
} else if( $this->mParams['httpstatus'] && $this->mParams['sessionkey'] ){
// return the status of the given upload session_key:
if( !isset( $_SESSION['wsDownload'][ $this->mParams['sessionkey'] ] ) ){
- return $this->dieUsageMsg( array( '
error' => '
invalid-session-key' ) );
+ return $this->dieUsageMsg( array( 'invalid-session-key' ) );
}
$sd = & $_SESSION['wsDownload'][$this->mParams['sessionkey']];
// keep passing down the upload sessionkey