Remove DeferredUpdates::doUpdates call in CLI scripts
authorAaron Schulz <aschulz@wikimedia.org>
Tue, 20 Oct 2015 18:05:45 +0000 (11:05 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Tue, 20 Oct 2015 18:18:38 +0000 (11:18 -0700)
Core already handles this by not letting them build up.
They run after each main DB commit.

Change-Id: I37c2a60e2df579ed59b2a8f3a7679d1d380e6337

maintenance/importDump.php

index ea8c84b..bf59495 100644 (file)
@@ -235,8 +235,6 @@ TEXT;
                        }
                }
                wfWaitForSlaves();
-               // XXX: Don't let deferred jobs array get absurdly large (bug 24375)
-               DeferredUpdates::doUpdates( 'commit' );
        }
 
        function progress( $string ) {