From a408268848a59a021780e940b73dd60b6b81b7ca Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Sat, 2 Jul 2011 00:20:11 +0000 Subject: [PATCH] Removed followRedirectText, unused --- includes/Article.php | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/includes/Article.php b/includes/Article.php index 47c540df16..a1639119c3 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -125,18 +125,6 @@ class Article extends Page { $this->mRedirectedFrom = $from; } - /** - * Get the Title object this text redirects to - * - * @param $text string article content containing redirect info - * @return mixed false, Title of in-wiki target, or string with URL - * @deprecated since 1.17 - */ - public function followRedirectText( $text ) { - // recurse through to only get the final target - return $this->getRedirectURL( Title::newFromRedirectRecurse( $text ) ); - } - /** * Get the title object of the article * @return Title object of this page -- 2.20.1