X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FgetSlaveServer.php;h=68c19439ad480a6e0a5ff38270047fba16f1a524;hb=937ae6444a683a3b0aaf14c21f529ad0e91419ef;hp=d618825f64ab5b954ce9422ecdcef36277d66859;hpb=660019e71a1e76adfaa7f080931d83b87928e20b;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/getSlaveServer.php b/maintenance/getSlaveServer.php index d618825f64..68c19439ad 100644 --- a/maintenance/getSlaveServer.php +++ b/maintenance/getSlaveServer.php @@ -34,6 +34,7 @@ class GetSlaveServer extends Maintenance { $this->addOption( "group", "Query group to check specifically" ); $this->mDescription = "Report the hostname of a slave server"; } + public function execute() { global $wgAllDBsAreLocalhost; if ( $wgAllDBsAreLocalhost ) {