diff --git a/products/ASC.Files/Core/Services/WCFService/FileOperations/FileDeleteOperation.cs b/products/ASC.Files/Core/Services/WCFService/FileOperations/FileDeleteOperation.cs index 990ea0feb49..874d948cbb7 100644 --- a/products/ASC.Files/Core/Services/WCFService/FileOperations/FileDeleteOperation.cs +++ b/products/ASC.Files/Core/Services/WCFService/FileOperations/FileDeleteOperation.cs @@ -154,7 +154,7 @@ private async Task DeleteFoldersAsync(IEnumerable folderIds, IServiceScope sc canCalculate = FolderDao.CanCalculateSubitems(folderId) ? default : folderId; await fileMarker.RemoveMarkAsNewForAllAsync(folder); - if (folder.ProviderEntry && (folder.Id.Equals(folder.RootId)) || isRoom) + if (folder.ProviderEntry && ((folder.Id.Equals(folder.RootId) || isRoom))) { if (ProviderDao != null) {