Cleanup
This commit is contained in:
@@ -815,10 +815,6 @@ namespace Umbraco.Web.PublishedCache.NuCache
|
||||
switch (payload.ChangeType)
|
||||
{
|
||||
case DomainChangeTypes.RefreshAll:
|
||||
//fixme why this check?
|
||||
if (!(_serviceContext.DomainService is DomainService))
|
||||
throw new Exception("oops");
|
||||
|
||||
using (var scope = _scopeProvider.CreateScope())
|
||||
{
|
||||
scope.ReadLock(Constants.Locks.Domains);
|
||||
|
||||
Reference in New Issue
Block a user