From 24aaf234fa95736275921a6fa7cfebc1d5df3312 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Gerg=C5=91=20Tisza?= Date: Mon, 24 Feb 2014 22:10:02 +0000 Subject: [PATCH] Fix ForeignDBViaLBRepo favicon Due to the weird inheritance structure of the FileRepo tree, ForeignDBViaLBRepo inherited the wrong getInfo behavior and returned the favicon of the local wiki. Change-Id: I4892247c0e4a2e05c9148efe089f0ff52459bbd0 Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/253 --- includes/filerepo/ForeignDBViaLBRepo.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/includes/filerepo/ForeignDBViaLBRepo.php b/includes/filerepo/ForeignDBViaLBRepo.php index 18f8d5df1c..8153ffb470 100644 --- a/includes/filerepo/ForeignDBViaLBRepo.php +++ b/includes/filerepo/ForeignDBViaLBRepo.php @@ -90,4 +90,8 @@ class ForeignDBViaLBRepo extends LocalRepo { protected function assertWritableRepo() { throw new MWException( get_class( $this ) . ': write operations are not supported.' ); } + + public function getInfo() { + return FileRepo::getInfo(); + } } -- 2.20.1