followup r76526
authorMark A. Hershberger <mah@users.mediawiki.org>
Thu, 11 Nov 2010 19:47:12 +0000 (19:47 +0000)
committerMark A. Hershberger <mah@users.mediawiki.org>
Thu, 11 Nov 2010 19:47:12 +0000 (19:47 +0000)
As I said on IRC: : On my local wiki I saw that error once, but I thought what I committed fixed it because I'm not seeing it now.

includes/specials/SpecialUploadStash.php

index e085e6d..983b846 100644 (file)
@@ -25,8 +25,8 @@ class SpecialUploadStash extends UnlistedSpecialPage {
 
        // $request is the request (usually wgRequest)
        // $subpage is everything in the URL after Special:UploadStash
-       public function __construct( $name, $restriction = '', $function = false, $file = 'default' ) {
-               parent::__construct( $name, 'upload' );
+       public function __construct( ) {
+               parent::__construct( 'UploadStash', 'upload' );
                try {
                        $this->stash = new UploadStash( );
                } catch (UploadStashNotAvailableException $e) {