* fix method call
authorRyan Schmidt <skizzerz@users.mediawiki.org>
Tue, 27 Jan 2009 01:51:13 +0000 (01:51 +0000)
committerRyan Schmidt <skizzerz@users.mediawiki.org>
Tue, 27 Jan 2009 01:51:13 +0000 (01:51 +0000)
includes/UploadFromUrl.php

index 7e23b8c..d41b0a8 100644 (file)
@@ -15,7 +15,7 @@ class UploadFromUrl extends UploadBase {
        function initialize( $name, $url ) {
                global $wgTmpDirectory;
                $local_file = tempnam( $wgTmpDirectory, 'WEBUPLOAD' );
-               $this-initialize( $name, $local_file, 0, true );
+               $this->initialize( $name, $local_file, 0, true );
 
                $this->mUrl = trim( $url );
        }