This commit is contained in:
2025-12-27 05:19:51 +03:30
parent 69e15e3797
commit e079660afe
+11 -18
View File
@@ -807,6 +807,7 @@ namespace xFileService.Providers
try
{
//
// Removed Stored Thumbnail ...
StorageProvider.DeleteFile(
fileFullPath: thumbFullPath,
forceFileExists: false
@@ -823,10 +824,20 @@ namespace xFileService.Providers
try
{
//
// Remove Stored File ...
StorageProvider.DeleteFile(
fileFullPath: fileFullPath,
forceFileExists: false
);
//
// Remove Tags ...
await DetachTags(
id: id,
userInfo: userInfo,
connectionId: connectionId
);
}
catch { }
}
@@ -844,24 +855,6 @@ namespace xFileService.Providers
);
}
//
// Remove Tags ...
if (!result.IsNull() && result.HasChild())
{
//
foreach (var id in result)
{
//
// Here we send Null Connection ID for Preventing Update Push ...
// since we Remove Entity ...
await DetachTags(
id: id,
userInfo: userInfo,
connectionId: null
);
}
}
//
return result;
}