Removed parser hacks from r88740, r88741, r88780
authorAaron Schulz <aaron@users.mediawiki.org>
Tue, 13 Sep 2011 20:26:41 +0000 (20:26 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Tue, 13 Sep 2011 20:26:41 +0000 (20:26 +0000)
includes/parser/Parser.php

index b50c5f0..e641046 100644 (file)
@@ -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: