From fb48f2917d5bcde0d5b4c223ba42d18e92d6a895 Mon Sep 17 00:00:00 2001 From: Victor Vasiliev Date: Wed, 16 Jan 2008 18:49:41 +0000 Subject: [PATCH] Fix call to non-static method --- includes/Linker.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Linker.php b/includes/Linker.php index 678be8d799..7861a8f046 100644 --- a/includes/Linker.php +++ b/includes/Linker.php @@ -723,7 +723,7 @@ class Linker { $upload = SpecialPage::getTitleFor( 'Upload' ); if( $text == '' ) $text = htmlspecialchars( $title->getPrefixedText() ); - $redir = RepoGroup::getLocalRepo()->checkRedirect( $title ); + $redir = RepoGroup::singleton()->getLocalRepo()->checkRedirect( $title ); if( $redir ) { return $this->makeKnownLinkObj( $title, $text, $query, $trail, $prefix ); } -- 2.20.1