Followup r105823, make it protected
[lhc/web/wiklou.git] / includes / api / ApiBase.php
index 2129052..b1c2df6 100644 (file)
@@ -1501,7 +1501,7 @@ abstract class ApiBase extends ContextSource {
        /**
         * @return DatabaseBase
         */
-       public function getDB() {
+       protected function getDB() {
                return wfGetDB( DB_SLAVE, 'api' );
        }