Followup r99892, actually use $options in query
authorSam Reed <reedy@users.mediawiki.org>
Sun, 1 Jan 2012 23:31:20 +0000 (23:31 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Sun, 1 Jan 2012 23:31:20 +0000 (23:31 +0000)
includes/filerepo/LocalRepo.php

index 8a58119..92d8f5d 100644 (file)
@@ -120,7 +120,7 @@ class LocalRepo extends FileRepo {
                        array( 'oi_sha1' => $sha1,
                                'oi_archive_name ' . $dbw->buildLike( $dbw->anyString(), ".$ext" ),
                                $dbw->bitAnd( 'oi_deleted', File::DELETED_FILE ) => File::DELETED_FILE ),
-                       __METHOD__, array( 'FOR UPDATE' )
+                       __METHOD__, $options
                );
        }