From: Chad Horohoe Date: Mon, 16 Jun 2008 19:49:58 +0000 (+0000) Subject: Add wfDeprecated() to Article::getDB() X-Git-Tag: 1.31.0-rc.0~46996 X-Git-Url: http://git.cyclocoop.org/fichier?a=commitdiff_plain;h=6e2cf1e20d39e67b3a3c78e7260afe14dce61c85;p=lhc%2Fweb%2Fwiklou.git Add wfDeprecated() to Article::getDB() --- diff --git a/includes/Article.php b/includes/Article.php index 0649532300..bce720233a 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -461,6 +461,7 @@ class Article { * @deprecated - just call wfGetDB( DB_MASTER ) instead */ function getDB() { + wfDeprecated( __METHOD__ ); return wfGetDB( DB_MASTER ); }