$form->execute();
}
-
+/** @package MediaWiki */
class UploadFormMogile extends UploadForm {
/**
* Move the uploaded file from its temporary location to the final
* @param bool $useRename Not used in this implementation
*/
function saveUploadedFile( $saveName, $tempName, $useRename = false ) {
- global $wgUploadDirectory, $wgOut;
+ global $wgOut;
$mfs = MogileFS::NewMogileFS();
$this->mSavedFile = "image!{$saveName}";