From: Sam Reed Date: Sun, 11 Dec 2011 20:41:23 +0000 (+0000) Subject: Followup r105823, make it protected X-Git-Tag: 1.31.0-rc.0~26071 X-Git-Url: http://git.cyclocoop.org/%27.parametre_url%28%20%20%20generer_action_auteur%28%27charger_plugin%27%2C%20%27update_flux%27%29%2C%27update_flux%27%2C%20%27oui%27%29.%27?a=commitdiff_plain;h=7ea2f68c3a5c6b5d80600c2c78c548c42f5bd0c0;p=lhc%2Fweb%2Fwiklou.git Followup r105823, make it protected --- 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' ); }