V10: Pass in variation context to published cache (#15563)
* Make sure that we always have variation context
* Fix references
(cherry picked from commit 57b3a196bf)
This commit is contained in:
committed by
Bjarke Berg
parent
bc1ddaed8c
commit
7a04baf9ef
@@ -17,7 +17,7 @@ public class MediaCache : PublishedCacheBase, IPublishedMediaCache, INavigableDa
|
||||
#region Constructors
|
||||
|
||||
public MediaCache(bool previewDefault, ContentStore.Snapshot snapshot, IVariationContextAccessor variationContextAccessor)
|
||||
: base(previewDefault)
|
||||
: base(variationContextAccessor, previewDefault)
|
||||
{
|
||||
_snapshot = snapshot;
|
||||
_variationContextAccessor = variationContextAccessor;
|
||||
|
||||
Reference in New Issue
Block a user