From: Aaron Schulz Date: Sat, 2 Jul 2011 00:20:11 +0000 (+0000) Subject: Removed followRedirectText, unused X-Git-Tag: 1.31.0-rc.0~29112 X-Git-Url: http://git.cyclocoop.org/ecrire?a=commitdiff_plain;h=a408268848a59a021780e940b73dd60b6b81b7ca;p=lhc%2Fweb%2Fwiklou.git Removed followRedirectText, unused --- 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