From: Gergő Tisza Date: Mon, 24 Feb 2014 22:10:02 +0000 (+0000) Subject: Fix ForeignDBViaLBRepo favicon X-Git-Tag: 1.31.0-rc.0~16827^2 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmembres/cotisations/gestion/rappel_supprimer.php?a=commitdiff_plain;h=24aaf234fa95736275921a6fa7cfebc1d5df3312;p=lhc%2Fweb%2Fwiklou.git 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 --- 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(); + } }