Follow-up r81401: fix callback, apparently it was the other way around than I thought.
authorBryan Tong Minh <btongminh@users.mediawiki.org>
Mon, 7 Feb 2011 18:13:19 +0000 (18:13 +0000)
committerBryan Tong Minh <btongminh@users.mediawiki.org>
Mon, 7 Feb 2011 18:13:19 +0000 (18:13 +0000)
includes/specials/SpecialUploadStash.php

index bc01201..885c1bc 100644 (file)
@@ -327,7 +327,7 @@ class SpecialUploadStash extends UnlistedSpecialPage {
                                'name' => 'clear',
                        ) 
                ), 'clearStashedUploads' );
-               $form->setSubmitCallback( __CLASS__ . '::tryClearStashedUploads' ); 
+               $form->setSubmitCallback( array( __CLASS__ , 'tryClearStashedUploads' ) ); 
                $form->setTitle( $this->getTitle() );
                $form->setSubmitText( wfMsg( 'uploadstash-clear' ) );