Facade - use NoCache policy when reloading

This commit is contained in:
Stephan
2016-06-01 17:42:54 +02:00
parent 7c5542dca3
commit 03107dc82b
6 changed files with 29 additions and 0 deletions

View File

@@ -1807,6 +1807,7 @@ ORDER BY umbracoNode.level, umbracoNode.sortOrder";
{
uow.WriteLock(Constants.Locks.ContentTree);
var repository = uow.CreateRepository<IContentRepository>();
((ContentRepository)repository).SetNoCachePolicy();
RebuildContentXmlLocked(uow, repository, groupSize, contentTypeIdsA);
RebuildPreviewXmlLocked(uow, repository, groupSize, contentTypeIdsA);
uow.Complete();