From: Aaron Schulz Date: Tue, 20 Oct 2015 18:05:45 +0000 (-0700) Subject: Remove DeferredUpdates::doUpdates call in CLI scripts X-Git-Tag: 1.31.0-rc.0~9334 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=f5e6756da76ecfd0ba08d61a631344c0f571dfe0;p=lhc%2Fweb%2Fwiklou.git Remove DeferredUpdates::doUpdates call in CLI scripts Core already handles this by not letting them build up. They run after each main DB commit. Change-Id: I37c2a60e2df579ed59b2a8f3a7679d1d380e6337 --- diff --git a/maintenance/importDump.php b/maintenance/importDump.php index ea8c84bbbf..bf594952c9 100644 --- a/maintenance/importDump.php +++ b/maintenance/importDump.php @@ -235,8 +235,6 @@ TEXT; } } wfWaitForSlaves(); - // XXX: Don't let deferred jobs array get absurdly large (bug 24375) - DeferredUpdates::doUpdates( 'commit' ); } function progress( $string ) {