Files: removed unnecessary
This commit is contained in:
parent
d557f7585c
commit
36181065e2
@ -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>();
|
||||
|
Loading…
Reference in New Issue
Block a user