Switch Block::purgeExpired to use AutoCommitUpdate
[lhc/web/wiklou.git] / includes / Block.php
index 4e878d1..2bae13b 100644 (file)
@@ -1134,7 +1134,7 @@ class Block {
                        return;
                }
 
-               DeferredUpdates::addUpdate( new AtomicSectionUpdate(
+               DeferredUpdates::addUpdate( new AutoCommitUpdate(
                        wfGetDB( DB_MASTER ),
                        __METHOD__,
                        function ( IDatabase $dbw, $fname ) {