mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-21 19:34:40 +08:00
Fixing bug #17506 Deleting Media in Azure throws (Contribution by Travis Pettijohn)
--HG-- branch : contributions
This commit is contained in:
@@ -223,8 +223,8 @@ namespace Orchard.Azure {
|
||||
EnsurePathIsRelative(path);
|
||||
|
||||
using ( new HttpContextWeaver() ) {
|
||||
Container.EnsureBlobExists(path);
|
||||
var blob = Container.GetBlockBlobReference(String.Concat(_root, path));
|
||||
Container.EnsureBlobExists(Combine(_root, path));
|
||||
var blob = Container.GetBlockBlobReference(Combine(_root, path));
|
||||
blob.Delete();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user