Index: trunk/extensions/FirefoggChunkedUpload/ApiFirefoggChunkedUpload.php |
— | — | @@ -6,6 +6,8 @@ |
7 | 7 | */ |
8 | 8 | |
9 | 9 | class ApiFirefoggChunkedUpload extends ApiUpload { |
| 10 | + private $mUpload = null, $mParams = null; |
| 11 | + |
10 | 12 | public function execute() { |
11 | 13 | global $wgUser; |
12 | 14 | |
— | — | @@ -102,7 +104,7 @@ |
103 | 105 | } else if ( $this->mUpload->getChunkMode() == FirefoggChunkedUploadHandler::CHUNK ) { |
104 | 106 | $ret = $this->performUploadChunk(); |
105 | 107 | } else if ( $this->mUpload->getChunkMode() == FirefoggChunkedUploadHandler::DONE ) { |
106 | | - $ret = $this->performUploadDone($user); |
| 108 | + $ret = $this->performUploadDone($wgUser); |
107 | 109 | } |
108 | 110 | |
109 | 111 | return $ret; |