mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +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);
|
EnsurePathIsRelative(path);
|
||||||
|
|
||||||
using ( new HttpContextWeaver() ) {
|
using ( new HttpContextWeaver() ) {
|
||||||
Container.EnsureBlobExists(path);
|
Container.EnsureBlobExists(Combine(_root, path));
|
||||||
var blob = Container.GetBlockBlobReference(String.Concat(_root, path));
|
var blob = Container.GetBlockBlobReference(Combine(_root, path));
|
||||||
blob.Delete();
|
blob.Delete();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user