From: Alexandre Emsenhuber Date: Tue, 21 Dec 2010 17:41:05 +0000 (+0000) Subject: Follow-up r78695: correct class name X-Git-Tag: 1.31.0-rc.0~33216 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=d00a25c33905d0582d85f5488b6d2a626366cb97;p=lhc%2Fweb%2Fwiklou.git Follow-up r78695: correct class name --- diff --git a/includes/SpecialPage.php b/includes/SpecialPage.php index bfef19c24e..2f9e264206 100644 --- a/includes/SpecialPage.php +++ b/includes/SpecialPage.php @@ -749,7 +749,8 @@ class SpecialPage { $includable = isset( $a[5] ) ? $a[5] : false; $this->init( $name, $restriction, $listed, $function, $file, $includable ); } else { - throw new MWException( "Call to undefined method SpecialPage::$fName" ); + $className = get_class( $this ); + throw new MWException( "Call to undefined method $className::$fName" ); } }