From 7ea2f68c3a5c6b5d80600c2c78c548c42f5bd0c0 Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Sun, 11 Dec 2011 20:41:23 +0000 Subject: [PATCH] Followup r105823, make it protected --- includes/api/ApiBase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/api/ApiBase.php b/includes/api/ApiBase.php index 2129052afd..b1c2df6130 100644 --- a/includes/api/ApiBase.php +++ b/includes/api/ApiBase.php @@ -1501,7 +1501,7 @@ abstract class ApiBase extends ContextSource { /** * @return DatabaseBase */ - public function getDB() { + protected function getDB() { return wfGetDB( DB_SLAVE, 'api' ); } -- 2.20.1