Files: removed unnecessary

This commit is contained in:
Maksim Chegulov 2022-12-09 12:22:50 +03:00
parent d557f7585c
commit 36181065e2

View File

@ -202,8 +202,6 @@ abstract class FileOperation<T, TId> : FileOperation where T : FileOperationData
CurrentTenant = fileOperationData.Tenant;
using var scope = _serviceProvider.CreateScope();
var tenantManager = scope.ServiceProvider.GetService<TenantManager>();
tenantManager.SetCurrentTenant(CurrentTenant);
var daoFactory = scope.ServiceProvider.GetService<IDaoFactory>();
FolderDao = daoFactory.GetFolderDao<TId>();