X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2FStorage%2FSqlBlobStore.php;h=fcdc1b908c12d09665f02b4dbc65ad52be51f801;hp=0714633285570c4c941a28f88ef0eb51b62a0a79;hb=a10315f2fcef3bc8023d7e3c74a3ac4e3a490cde;hpb=279b8891885e335b6c46d55d736a39201c35c8ba diff --git a/includes/Storage/SqlBlobStore.php b/includes/Storage/SqlBlobStore.php index 0714633285..fcdc1b908c 100644 --- a/includes/Storage/SqlBlobStore.php +++ b/includes/Storage/SqlBlobStore.php @@ -228,7 +228,7 @@ class SqlBlobStore implements IDBAccessObject, BlobStore { // used. We'll need to assess expected fallout before doing that. } - $dbw = $this->getDBConnection( DB_REPLICA ); + $dbw = $this->getDBConnection( DB_MASTER ); $old_id = $dbw->nextSequenceValue( 'text_old_id_seq' ); $dbw->insert(