r105826 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r105825‎ | r105826 | r105827 >
Date:20:41, 11 December 2011
Author:reedy
Status:ok
Tags:
Comment:
Followup r105823, make it protected
Modified paths:
  • /trunk/phase3/includes/api/ApiBase.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiBase.php
@@ -1501,7 +1501,7 @@
15021502 /**
15031503 * @return DatabaseBase
15041504 */
1505 - public function getDB() {
 1505+ protected function getDB() {
15061506 return wfGetDB( DB_SLAVE, 'api' );
15071507 }
15081508

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r105823Adding a getDB function to ApiBase...reedy20:32, 11 December 2011

Status & tagging log