Extract the zip in UnPack(), remove check for directory exists as it should not and that's what the method did previously
This commit is contained in:
@@ -17,6 +17,8 @@ namespace umbraco.cms.businesslogic.utilities
|
||||
Directory.CreateDirectory(UnPackDirectory);
|
||||
}
|
||||
|
||||
ZipFile.ExtractToDirectory(ZipFilePath, UnPackDirectory);
|
||||
|
||||
if (DeleteZipFile)
|
||||
File.Delete(ZipFilePath);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user