X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22calendrier%22%2C%22type=semaine%22%29%20.%20%22?a=blobdiff_plain;f=maintenance%2FdoMaintenance.php;h=000e5f9f08da4feda127ae98c53341f848fa1a20;hb=66e0757587607050e43a195a2278615a4db5fc32;hp=e66b7293c08b3bb412121f14679d0f1fe2011de6;hpb=612753f1841a9ffdb6adbf3128c026064938a15f;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();