From: Aryeh Gregor Date: Fri, 5 Jun 2009 15:49:51 +0000 (+0000) Subject: Don't use wfDeprecated for still-used methods X-Git-Tag: 1.31.0-rc.0~41493 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_aide%28?a=commitdiff_plain;h=6415560d45e9eabebc9526a74e99fdffebe01005;p=lhc%2Fweb%2Fwiklou.git Don't use wfDeprecated for still-used methods If the method is really deprecated, then get rid of all in-tree callers before you start spamming everyone with notices. --- diff --git a/includes/Article.php b/includes/Article.php index f3aa9af319..2d9bf5e625 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -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 ) |