Add wfDeprecated() to Article::getDB()
authorChad Horohoe <demon@users.mediawiki.org>
Mon, 16 Jun 2008 19:49:58 +0000 (19:49 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Mon, 16 Jun 2008 19:49:58 +0000 (19:49 +0000)
includes/Article.php

index 0649532..bce7202 100644 (file)
@@ -461,6 +461,7 @@ class Article {
         * @deprecated - just call wfGetDB( DB_MASTER ) instead
         */
        function getDB() {
+               wfDeprecated( __METHOD__ );
                return wfGetDB( DB_MASTER );
        }