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 try
{ {
// //
// Removed Stored Thumbnail ...
StorageProvider.DeleteFile( StorageProvider.DeleteFile(
fileFullPath: thumbFullPath, fileFullPath: thumbFullPath,
forceFileExists: false forceFileExists: false
@@ -823,10 +824,20 @@ namespace xFileService.Providers
try try
{ {
// //
// Remove Stored File ...
StorageProvider.DeleteFile( StorageProvider.DeleteFile(
fileFullPath: fileFullPath, fileFullPath: fileFullPath,
forceFileExists: false forceFileExists: false
); );
//
// Remove Tags ...
await DetachTags(
id: id,
userInfo: userInfo,
connectionId: connectionId
);
} }
catch { } 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; return result;
} }