Merge "Drop archive.ar_text and ar_flags"
[lhc/web/wiklou.git] / includes / Revision.php
index c1fa4fa..652ce4d 100644 (file)
@@ -1068,7 +1068,9 @@ class Revision implements IDBAccessObject {
                        return false;
                }
 
-               $cacheKey = isset( $row->old_id ) ? ( 'tt:' . $row->old_id ) : null;
+               $cacheKey = isset( $row->old_id )
+                       ? SqlBlobStore::makeAddressFromTextId( $row->old_id )
+                       : null;
 
                return self::getBlobStore( $wiki )->expandBlob( $text, $flags, $cacheKey );
        }