result of finished Chunk Upload has to be Success
authorJan Gerber <j@users.mediawiki.org>
Tue, 2 Aug 2011 12:44:26 +0000 (12:44 +0000)
committerJan Gerber <j@users.mediawiki.org>
Tue, 2 Aug 2011 12:44:26 +0000 (12:44 +0000)
includes/api/ApiUpload.php

index 4769f92..cf94fd6 100644 (file)
@@ -136,7 +136,7 @@ class ApiUpload extends ApiBase {
                                        $result['filekey'] = $this->mParams['filekey'];
                                        if($this->mParams['offset'] + $chunkSize == $this->mParams['filesize']) {
                                                $this->mUpload->finalizeFile();
-                                               $result['result'] = 'Done';
+                                               $result['result'] = 'Success';
                                        }
                                }
                        }