X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiQueryAllImages.php;h=8734f380bb6a696079b5648bfe6b9498988181e5;hb=e758226c91935a1df2b6fd3ed1f18922d8bfb45b;hp=6aeee683d0c0266dfce53498cca0036bf1e15a2e;hpb=2f885ee6b797e5a176ce7b270b674a04b5945b06;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiQueryAllImages.php b/includes/api/ApiQueryAllImages.php index 6aeee683d0..8734f380bb 100644 --- a/includes/api/ApiQueryAllImages.php +++ b/includes/api/ApiQueryAllImages.php @@ -44,10 +44,10 @@ class ApiQueryAllImages extends ApiQueryGeneratorBase { * which may not necessarily be the same as the local DB. * * TODO: allow querying non-local repos. - * @return DatabaseBase + * @return IDatabase */ protected function getDB() { - return $this->mRepo->getSlaveDB(); + return $this->mRepo->getReplicaDB(); } public function execute() {