Index: trunk/phase3/includes/api/ApiUpload.php |
— | — | @@ -84,13 +84,14 @@ |
85 | 85 | // Initialize $this->mUpload |
86 | 86 | if ( $this->mParams['enablechunks'] ) { |
87 | 87 | $this->mUpload = new UploadFromChunks(); |
88 | | - $this->mUpload->initialize |
89 | | - ( $request->getText( 'done' ), |
90 | | - $request->getText( 'filename' ), |
91 | | - $request->getText( 'chunksessionkey' ), |
92 | | - $request->getFileTempName( 'chunk' ), |
93 | | - $request->getFileSize( 'chunk' ), |
94 | | - $request->getSessionData( 'wsUploadData' ) ); |
| 88 | + $this->mUpload->initialize( |
| 89 | + $request->getText( 'done' ), |
| 90 | + $request->getText( 'filename' ), |
| 91 | + $request->getText( 'chunksessionkey' ), |
| 92 | + $request->getFileTempName( 'chunk' ), |
| 93 | + $request->getFileSize( 'chunk' ), |
| 94 | + $request->getSessionData( 'wsUploadData' ) |
| 95 | + ); |
95 | 96 | |
96 | 97 | if ( !$this->mUpload->status->isOK() ) { |
97 | 98 | return $this->dieUsageMsg( $this->mUpload->status->getWikiText(), |