Merge "Update list item newline handling to follow Parsoid's model"
[lhc/web/wiklou.git] / includes / filerepo / file / LocalFile.php
index a178093..300e68e 100644 (file)
@@ -2771,7 +2771,8 @@ class LocalFileMoveBatch {
                $result = $this->db->select( 'oldimage',
                        array( 'oi_archive_name', 'oi_deleted' ),
                        array( 'oi_name' => $this->oldName ),
-                       __METHOD__
+                       __METHOD__,
+                       array( 'FOR UPDATE' ) // ignore snapshot
                );
 
                foreach ( $result as $row ) {