From 6e2cf1e20d39e67b3a3c78e7260afe14dce61c85 Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Mon, 16 Jun 2008 19:49:58 +0000 Subject: [PATCH] Add wfDeprecated() to Article::getDB() --- includes/Article.php | 1 + 1 file changed, 1 insertion(+) 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 ); } -- 2.20.1