r36348 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r36347‎ | r36348 | r36349 >
Date:19:49, 16 June 2008
Author:demon
Status:old
Tags:
Comment:
Add wfDeprecated() to Article::getDB()
Modified paths:
  • /trunk/phase3/includes/Article.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Article.php
@@ -461,6 +461,7 @@
462462 * @deprecated - just call wfGetDB( DB_MASTER ) instead
463463 */
464464 function getDB() {
 465+ wfDeprecated( __METHOD__ );
465466 return wfGetDB( DB_MASTER );
466467 }
467468

Status & tagging log