last ...
This commit is contained in:
+11
-18
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user