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
Normalize IPv6 addresses in XFF chains
[lhc/web/wiklou.git]
/
maintenance
/
update.php
diff --git
a/maintenance/update.php
b/maintenance/update.php
index
e225ebb
..
5df9f32
100644
(file)
--- a/
maintenance/update.php
+++ b/
maintenance/update.php
@@
-26,12
+26,12
@@
*/
if ( !function_exists( 'version_compare' ) || ( version_compare( phpversion(), '5.3.2' ) < 0 ) ) {
*/
if ( !function_exists( 'version_compare' ) || ( version_compare( phpversion(), '5.3.2' ) < 0 ) ) {
- require
( dirname( __FILE__ ) . '/../includes/PHPVersionError.php' )
;
+ require
dirname( __FILE__ ) . '/../includes/PHPVersionError.php'
;
wfPHPVersionError( 'cli' );
}
$wgUseMasterForMaintenance = true;
wfPHPVersionError( 'cli' );
}
$wgUseMasterForMaintenance = true;
-require_once
( __DIR__ . '/Maintenance.php' )
;
+require_once
__DIR__ . '/Maintenance.php'
;
/**
* Maintenance script to run database schema updates.
/**
* Maintenance script to run database schema updates.
@@
-159,7
+159,6
@@
class UpdateMediaWiki extends Maintenance {
continue;
}
continue;
}
- $child = $this->runChild( $maint );
$child->execute();
if ( !$isLoggedUpdate ) {
$updater->insertUpdateRow( $maint );
$child->execute();
if ( !$isLoggedUpdate ) {
$updater->insertUpdateRow( $maint );
@@
-189,4
+188,4
@@
class UpdateMediaWiki extends Maintenance {
}
$maintClass = 'UpdateMediaWiki';
}
$maintClass = 'UpdateMediaWiki';
-require_once
( RUN_MAINTENANCE_IF_MAIN )
;
+require_once
RUN_MAINTENANCE_IF_MAIN
;