Index: trunk/extensions/QrCode/QrCode.php |
— | — | @@ -175,6 +175,7 @@ |
176 | 176 | * @return boolean status of file "upload" |
177 | 177 | */ |
178 | 178 | public function run() { |
| 179 | + global $wgOut; |
179 | 180 | |
180 | 181 | $mUpload = new UploadFromFile(); |
181 | 182 | $mUpload->initialize( $this->_dstFileName, $this->_tmpName, null ); // we don't know the filesize, how could we? |