From: Happy-melon Date: Mon, 18 Apr 2011 19:44:52 +0000 (+0000) Subject: Follow-up r86255: getTitleFor() was not migrated. X-Git-Tag: 1.31.0-rc.0~30724 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=1d8b80f7ae6d693196887c6166e64a9fca4ee5c1;p=lhc%2Fweb%2Fwiklou.git Follow-up r86255: getTitleFor() was not migrated. --- diff --git a/includes/SpecialPage.php b/includes/SpecialPage.php index 756c337875..5f0c9709e8 100644 --- a/includes/SpecialPage.php +++ b/includes/SpecialPage.php @@ -697,9 +697,9 @@ abstract class SpecialRedirectToSpecial extends UnlistedSpecialPage { function getRedirect( $subpage ) { if ( $this->redirSubpage === false ) { - return SpecialPageFactory::getTitleFor( $this->redirName, $subpage ); + return SpecialPage::getTitleFor( $this->redirName, $subpage ); } else { - return SpecialPageFactory::getTitleFor( $this->redirName, $this->redirSubpage ); + return SpecialPage::getTitleFor( $this->redirName, $this->redirSubpage ); } } }