Actually make Parser::pstPass2() private
authorChad Horohoe <chadh@wikimedia.org>
Wed, 5 Feb 2014 21:27:30 +0000 (13:27 -0800)
committerChad Horohoe <chadh@wikimedia.org>
Wed, 5 Feb 2014 21:29:01 +0000 (13:29 -0800)
Nothing else uses this anywhere in SVN or Git as far as I can tell

Change-Id: I0ea0ebe5d11ab50fef455dd0239912e206606cd8

includes/parser/Parser.php

index 9157619..340f462 100644 (file)
@@ -4594,14 +4594,13 @@ class Parser {
 
        /**
         * Pre-save transform helper function
-        * @private
         *
         * @param $text string
         * @param $user User
         *
         * @return string
         */
-       function pstPass2( $text, $user ) {
+       private function pstPass2( $text, $user ) {
                global $wgContLang;
 
                # Note: This is the timestamp saved as hardcoded wikitext to