X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FdoMaintenance.php;h=000e5f9f08da4feda127ae98c53341f848fa1a20;hb=3302e11b23301ee55196b372c1cf5ff48a5ab6c3;hp=e66b7293c08b3bb412121f14679d0f1fe2011de6;hpb=5c63cce449b2497e66aa0c3a061ec494c234d05d;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/doMaintenance.php b/maintenance/doMaintenance.php index e66b7293c0..000e5f9f08 100644 --- 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 -$wgProfiler = array(); +$wgProfiler = []; if ( file_exists( "$IP/StartProfiler.php" ) ) { require "$IP/StartProfiler.php"; } @@ -113,5 +113,5 @@ wfLogProfilingData(); // Commit and close up! $factory = wfGetLBFactory(); -$factory->commitMasterChanges(); +$factory->commitMasterChanges( 'doMaintenance' ); $factory->shutdown();