From: Aaron Schulz Date: Tue, 13 Sep 2011 20:26:41 +0000 (+0000) Subject: Removed parser hacks from r88740, r88741, r88780 X-Git-Tag: 1.31.0-rc.0~27691 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/membres/message.php?a=commitdiff_plain;h=42ead260a45379e0898ffb4006ba6da20875a65b;p=lhc%2Fweb%2Fwiklou.git Removed parser hacks from r88740, r88741, r88780 --- diff --git a/includes/parser/Parser.php b/includes/parser/Parser.php index b50c5f0a9f..e6410468e0 100644 --- a/includes/parser/Parser.php +++ b/includes/parser/Parser.php @@ -4701,19 +4701,6 @@ class Parser { $this->mStripList = $this->mDefaultStripList; } - /** - * Remove a specific tag hook. Should not be called on $wgParser. - * Does not change the strip list. - * - * @param string $tag - * @return void - */ - function clearTagHook( $tag ) { - if ( isset( $this->mTagHooks[$tag] ) ) { - unset( $this->mTagHooks[$tag] ); - } - } - /** * Create a function, e.g. {{sum:1|2|3}} * The callback function should have the form: