mediawiki-extensions-AbuseF.../includes/CentralDBNotAvailableException.php
Daimona Eaytoy 1f8df50cb3 Add a service to retrieve the central DB
This is a thin wrapper around LBFactory and the global variable, that
can be injected in classes requiring it (no real class right now, but
that's going to change soon).

Also, remove some DWIM-style returns which made the code harder to
understand.

Change-Id: I1d28ad4a67f914103f3a17cda5f61b28070c7f1c
2020-10-31 12:32:46 +00:00

9 lines
140 B
PHP

<?php
namespace MediaWiki\Extension\AbuseFilter;
use RuntimeException;
class CentralDBNotAvailableException extends RuntimeException {
}