Skip to content
Snippets Groups Projects
Commit aa053e7a authored by Al Munnings's avatar Al Munnings
Browse files

I don't know if static:revision: does much here, removing

parent e03a0e1d
No related branches found
No related tags found
1 merge request!80Return latest revision of content
......@@ -176,7 +176,6 @@ class EntityLoadRevision extends DataProducerPluginBase implements ContainerFact
throw new UserError('The requested revision does not belong to the requested entity.');
}
$revision->addCacheContexts(["static:revision:{$revision->getRevisionId()}"]);
$context->setContextValue('revision', $revision->getRevisionId());
// A specific language was requested.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment