X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FdoMaintenance.php;h=60b24a2db013ead4bdb737f8de93f35e20316258;hb=d22e83a754a8f8fd4b9794b6e57d307c4a95caaa;hp=95bd089dd8a8d1676da65e9344bfcfb0de9638ca;hpb=8850f3ae7bba7f9867f1217cd6a96608cc4f7d68;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/doMaintenance.php b/maintenance/doMaintenance.php index 95bd089dd8..60b24a2db0 100644 --- a/maintenance/doMaintenance.php +++ b/maintenance/doMaintenance.php @@ -104,7 +104,7 @@ $maintenance->checkRequiredExtensions(); // A good time when no DBs have writes pending is around lag checks. // This avoids having long running scripts just OOM and lose all the updates. -$maintenance->setTriggers(); +$maintenance->setAgentAndTriggers(); // Do the work $maintenance->execute(); @@ -121,4 +121,4 @@ wfLogProfilingData(); // Commit and close up! $factory = wfGetLBFactory(); $factory->commitMasterChanges( 'doMaintenance' ); -$factory->shutdown(); +$factory->shutdown( $factory::SHUTDOWN_NO_CHRONPROT );