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 "API: Log non-whitelisted CORS requests with session cookies"
[lhc/web/wiklou.git]
/
maintenance
/
doMaintenance.php
diff --git
a/maintenance/doMaintenance.php
b/maintenance/doMaintenance.php
index
e66b729
..
000e5f9
100644
(file)
--- a/
maintenance/doMaintenance.php
+++ b/
maintenance/doMaintenance.php
@@
-60,7
+60,7
@@
require_once "$IP/includes/AutoLoader.php";
require_once "$IP/includes/profiler/ProfilerFunctions.php";
# Start the profiler
require_once "$IP/includes/profiler/ProfilerFunctions.php";
# Start the profiler
-$wgProfiler =
array()
;
+$wgProfiler =
[]
;
if ( file_exists( "$IP/StartProfiler.php" ) ) {
require "$IP/StartProfiler.php";
}
if ( file_exists( "$IP/StartProfiler.php" ) ) {
require "$IP/StartProfiler.php";
}
@@
-113,5
+113,5
@@
wfLogProfilingData();
// Commit and close up!
$factory = wfGetLBFactory();
// Commit and close up!
$factory = wfGetLBFactory();
-$factory->commitMasterChanges();
+$factory->commitMasterChanges(
'doMaintenance'
);
$factory->shutdown();
$factory->shutdown();