Follow up r78786. Do not mark as @deprecated yet, since it is called by getQueryInfo().
authorPlatonides <platonides@users.mediawiki.org>
Thu, 6 Jan 2011 19:15:02 +0000 (19:15 +0000)
committerPlatonides <platonides@users.mediawiki.org>
Thu, 6 Jan 2011 19:15:02 +0000 (19:15 +0000)
includes/QueryPage.php

index a45311f..f656949 100644 (file)
@@ -135,9 +135,9 @@ abstract class QueryPage extends SpecialPage {
         * For back-compat, subclasses may return a raw SQL query here, as a string.
         * This is stronly deprecated; getQueryInfo() should be overridden instead.
         * @return string
-        * @deprecated since 1.18
         */
        function getSQL() {
+               /* Implement getQueryInfo() instead */
                throw new MWException( "Bug in a QueryPage: doesn't implement getQueryInfo() nor getQuery() properly" );
        }