mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
Corrected fake ExtensionEntry for RawThemeExtensionLoader
--HG-- branch : dev
This commit is contained in:
@@ -50,11 +50,9 @@ namespace Orchard.Environment.Extensions.Loaders {
|
|||||||
}
|
}
|
||||||
|
|
||||||
protected override ExtensionEntry LoadWorker(ExtensionDescriptor descriptor) {
|
protected override ExtensionEntry LoadWorker(ExtensionDescriptor descriptor) {
|
||||||
var assembly = Assembly.Load("Orchard.Themes");
|
|
||||||
|
|
||||||
return new ExtensionEntry {
|
return new ExtensionEntry {
|
||||||
Descriptor = descriptor,
|
Descriptor = descriptor,
|
||||||
Assembly = assembly,
|
Assembly = GetType().Assembly,
|
||||||
ExportedTypes = new Type[0]
|
ExportedTypes = new Type[0]
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user