Remove DifferenceEngine::generateDiffBody()
authorFlorian <florian.schmidt.stargatewissen@gmail.com>
Sat, 2 Apr 2016 11:44:17 +0000 (13:44 +0200)
committerFlorian <florian.schmidt.stargatewissen@gmail.com>
Sun, 31 Jul 2016 22:37:25 +0000 (00:37 +0200)
Bug: T122754
Change-Id: Iedd319fa5e7b7218ee5341f18f31a8f1101b5eee

RELEASE-NOTES-1.28
includes/diff/DifferenceEngine.php

index 41e94be..9acd1d8 100644 (file)
@@ -92,6 +92,7 @@ changes to languages because of Phabricator reports.
 * The 'ParserLimitReportFormat' hook was removed.
 * Disabled "bug 2702" HTML tidying of parsed UI messages on wikis where Tidy is
   disabled.
+* DifferenceEngine::generateDiffBody() was removed (deprecated since 1.21).
 
 == Compatibility ==
 
index 949a0ac..33955b2 100644 (file)
@@ -819,21 +819,6 @@ class DifferenceEngine extends ContextSource {
                return $this->generateTextDiffBody( $otext, $ntext );
        }
 
-       /**
-        * Generate a diff, no caching
-        *
-        * @param string $otext Old text, must be already segmented
-        * @param string $ntext New text, must be already segmented
-        *
-        * @return bool|string
-        * @deprecated since 1.21, use generateContentDiffBody() instead!
-        */
-       public function generateDiffBody( $otext, $ntext ) {
-               ContentHandler::deprecated( __METHOD__, "1.21" );
-
-               return $this->generateTextDiffBody( $otext, $ntext );
-       }
-
        /**
         * Generate a diff, no caching
         *