From f5e6756da76ecfd0ba08d61a631344c0f571dfe0 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Tue, 20 Oct 2015 11:05:45 -0700 Subject: [PATCH] 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 --- maintenance/importDump.php | 2 -- 1 file changed, 2 deletions(-) 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 ) { -- 2.20.1