diff --git a/products/ASC.Files/Core/Utils/FileSharing.cs b/products/ASC.Files/Core/Utils/FileSharing.cs index e7fbbe66c82..e70a1fbc6b2 100644 --- a/products/ASC.Files/Core/Utils/FileSharing.cs +++ b/products/ASC.Files/Core/Utils/FileSharing.cs @@ -578,7 +578,6 @@ public async Task> GetSharedInfoAsync(FileEntry entry, IE //throw new SecurityException(FilesCommonResource.ErrorMessage_SecurityException); } - var linkAccess = FileShare.Restrict; var result = new List(); var shares = await fileSecurity.GetSharesAsync(entry); var isRoom = entry is Folder { SettingsPrivate: false } room && DocSpaceHelper.IsRoom(room.FolderType);