X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Ffilerepo%2FForeignDBRepo.php;h=3e8850823ef5464af7fb02e2ca12f0da3b23e87e;hp=f49ef88c5cd45deeef79edda6d26d7b9eb4cabc5;hb=0c5b6ecc8fb68aa67606f80d5425334c37991c9d;hpb=df212f1c916f73ea8e2bdfdf00228d551b8bd620 diff --git a/includes/filerepo/ForeignDBRepo.php b/includes/filerepo/ForeignDBRepo.php index f49ef88c5c..3e8850823e 100644 --- a/includes/filerepo/ForeignDBRepo.php +++ b/includes/filerepo/ForeignDBRepo.php @@ -138,7 +138,7 @@ class ForeignDBRepo extends LocalRepo { } protected function assertWritableRepo() { - throw new MWException( get_class( $this ) . ': write operations are not supported.' ); + throw new MWException( static::class . ': write operations are not supported.' ); } /**