dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
750eac7
)
revert r102636
author
Antoine Musso
<hashar@users.mediawiki.org>
Thu, 24 Nov 2011 09:41:54 +0000
(09:41 +0000)
committer
Antoine Musso
<hashar@users.mediawiki.org>
Thu, 24 Nov 2011 09:41:54 +0000
(09:41 +0000)
This move back the maintenance finalSetup code above core Setup.
If we really need to do any setup after core Setup has run, we should use
a new method in the Maintenance class. For example afterCoreSetup()
maintenance/doMaintenance.php
patch
|
blob
|
history
diff --git
a/maintenance/doMaintenance.php
b/maintenance/doMaintenance.php
index
c937333
..
6b29c5f
100644
(file)
--- a/
maintenance/doMaintenance.php
+++ b/
maintenance/doMaintenance.php
@@
-93,11
+93,10
@@
if ( $maintenance->getDbType() === Maintenance::DB_ADMIN &&
{
require( MWInit::interpretedPath( 'AdminSettings.php' ) );
}
+$maintenance->finalSetup();
// Some last includes
require_once( MWInit::compiledPath( 'includes/Setup.php' ) );
-$maintenance->finalSetup();
-
// Much much faster startup than creating a title object
$wgTitle = null;