X-Git-Url: https://git.heureux-cyclage.org/index.php?a=blobdiff_plain;f=includes%2FBlock.php;h=c38c929fc5ab6bdf83f1af38d8e61f52c3140f89;hb=a90c4761c4c1bb9cf8e457e1b46078e8d07a245d;hp=4e878d1045ba41a8a1f1f2c92f0bdea0cff80dde;hpb=8269ed4dfd5e4395e25945b1fa2ed391684606ed;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Block.php b/includes/Block.php index 4e878d1045..c38c929fc5 100644 --- a/includes/Block.php +++ b/includes/Block.php @@ -224,7 +224,7 @@ class Block { 'ipb_address', 'ipb_by', 'ipb_by_text', - 'ipb_by_actor' => $wgActorTableSchemaMigrationStage > MIGRATION_OLD ? 'ipb_by_actor' : null, + 'ipb_by_actor' => $wgActorTableSchemaMigrationStage > MIGRATION_OLD ? 'ipb_by_actor' : 'NULL', 'ipb_timestamp', 'ipb_auto', 'ipb_anon_only', @@ -1134,7 +1134,7 @@ class Block { return; } - DeferredUpdates::addUpdate( new AtomicSectionUpdate( + DeferredUpdates::addUpdate( new AutoCommitUpdate( wfGetDB( DB_MASTER ), __METHOD__, function ( IDatabase $dbw, $fname ) {