dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Improve DBReadOnlyError/DBExpectedError page title"
[lhc/web/wiklou.git]
/
maintenance
/
getSlaveServer.php
diff --git
a/maintenance/getSlaveServer.php
b/maintenance/getSlaveServer.php
index
ec9ed20
..
68c1943
100644
(file)
--- a/
maintenance/getSlaveServer.php
+++ b/
maintenance/getSlaveServer.php
@@
-21,7
+21,7
@@
* @ingroup Maintenance
*/
* @ingroup Maintenance
*/
-require_once
( __DIR__ . '/Maintenance.php' )
;
+require_once
__DIR__ . '/Maintenance.php'
;
/**
* Maintenance script that reports the hostname of a slave server.
/**
* Maintenance script that reports the hostname of a slave server.
@@
-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";
}
$this->addOption( "group", "Query group to check specifically" );
$this->mDescription = "Report the hostname of a slave server";
}
+
public function execute() {
global $wgAllDBsAreLocalhost;
if ( $wgAllDBsAreLocalhost ) {
public function execute() {
global $wgAllDBsAreLocalhost;
if ( $wgAllDBsAreLocalhost ) {
@@
-51,4
+52,4
@@
class GetSlaveServer extends Maintenance {
}
$maintClass = "GetSlaveServer";
}
$maintClass = "GetSlaveServer";
-require_once
( RUN_MAINTENANCE_IF_MAIN )
;
+require_once
RUN_MAINTENANCE_IF_MAIN
;