Corrected fake ExtensionEntry for RawThemeExtensionLoader

--HG--
branch : dev
This commit is contained in:
Sebastien Ros
2010-10-12 14:33:21 -07:00
parent f7b77808fc
commit d8f7c821c9

View File

@@ -50,11 +50,9 @@ namespace Orchard.Environment.Extensions.Loaders {
}
protected override ExtensionEntry LoadWorker(ExtensionDescriptor descriptor) {
var assembly = Assembly.Load("Orchard.Themes");
return new ExtensionEntry {
Descriptor = descriptor,
Assembly = assembly,
Assembly = GetType().Assembly,
ExportedTypes = new Type[0]
};
}