From: Bryan Tong Minh Date: Mon, 7 Feb 2011 18:13:19 +0000 (+0000) Subject: Follow-up r81401: fix callback, apparently it was the other way around than I thought. X-Git-Tag: 1.31.0-rc.0~32138 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22suivi_revisions%22%2C%22id_auteur=%24connecte%22%29%20.%20%22?a=commitdiff_plain;h=afd0f9ca1013a824fd880b036ce5f7ca521c9f3d;p=lhc%2Fweb%2Fwiklou.git Follow-up r81401: fix callback, apparently it was the other way around than I thought. --- diff --git a/includes/specials/SpecialUploadStash.php b/includes/specials/SpecialUploadStash.php index bc0120120e..885c1bcda7 100644 --- a/includes/specials/SpecialUploadStash.php +++ b/includes/specials/SpecialUploadStash.php @@ -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' ) );