Index: trunk/phase3/includes/api/ApiUpload.php |
— | — | @@ -124,7 +124,7 @@ |
125 | 125 | } elseif ( $this->mParams['chunk'] ) { |
126 | 126 | $result['result'] = 'Continue'; |
127 | 127 | $chunk = $request->getFileTempName( 'chunk' ); |
128 | | - $chunkSize = $request->getFileSize( 'chunk' ); |
| 128 | + $chunkSize = $request->getUpload( 'chunk' )->getSize(); |
129 | 129 | if ($this->mParams['offset'] == 0) { |
130 | 130 | $result['filekey'] = $this->performStash(); |
131 | 131 | } else { |