Don't use wfDeprecated for still-used methods
authorAryeh Gregor <simetrical@users.mediawiki.org>
Fri, 5 Jun 2009 15:49:51 +0000 (15:49 +0000)
committerAryeh Gregor <simetrical@users.mediawiki.org>
Fri, 5 Jun 2009 15:49:51 +0000 (15:49 +0000)
If the method is really deprecated, then get rid of all in-tree callers
before you start spamming everyone with notices.

includes/Article.php

index f3aa9af..2d9bf5e 100644 (file)
@@ -1449,7 +1449,6 @@ class Article {
         * @deprecated use Article::doEdit()
         */
        function insertNewArticle( $text, $summary, $isminor, $watchthis, $suppressRC=false, $comment=false, $bot=false ) {
-               wfDeprecated( __METHOD__ );
                $flags = EDIT_NEW | EDIT_DEFER_UPDATES | EDIT_AUTOSUMMARY |
                        ( $isminor ? EDIT_MINOR : 0 ) |
                        ( $suppressRC ? EDIT_SUPPRESS_RC : 0 ) |