Merge "Add more test cases to OldChangesListTest"
[lhc/web/wiklou.git] / includes / filerepo / LocalRepo.php
index c7ca4c2..389f081 100644 (file)
@@ -205,7 +205,7 @@ class LocalRepo extends FileRepo {
                        function ( $oldValue, &$ttl, array &$setOpts ) use ( $that, $title ) {
                                $dbr = $that->getSlaveDB(); // possibly remote DB
 
-                               $setOpts = array( 'since' => $dbr->trxTimestamp() );
+                               $setOpts += DatabaseBase::getCacheSetOptions( $dbr );
 
                                if ( $title instanceof Title ) {
                                        $row = $dbr->selectRow(