mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 03:25:23 +08:00
Removing some obsolete install/feature state code
Changing blog/page slug updater to use orchard shell events interface Changing default role/permission to use feature install event Renaming state manager/provider to be consistent with other components --HG-- branch : dev
This commit is contained in:
@@ -45,7 +45,6 @@ namespace Orchard.Setup {
|
||||
builder.RegisterType<HelpCommand>().As<ICommandHandler>().InstancePerLifetimeScope();
|
||||
|
||||
// setup mode specific implementations of needed service interfaces
|
||||
builder.RegisterType<NullHackInstallationGenerator>().As<IHackInstallationGenerator>().InstancePerLifetimeScope();
|
||||
builder.RegisterType<SafeModeThemeService>().As<IThemeService>().InstancePerLifetimeScope();
|
||||
builder.RegisterType<SafeModeText>().As<IText>().InstancePerLifetimeScope();
|
||||
builder.RegisterType<SafeModeSiteService>().As<ISiteService>().InstancePerLifetimeScope();
|
||||
@@ -88,10 +87,6 @@ namespace Orchard.Setup {
|
||||
public void UninstallTheme(string themeName) { }
|
||||
}
|
||||
|
||||
class NullHackInstallationGenerator : IHackInstallationGenerator {
|
||||
public void GenerateInstallEvents() { }
|
||||
public void GenerateActivateEvents() { }
|
||||
}
|
||||
|
||||
class SafeModeSiteService : ISiteService {
|
||||
public ISite GetSiteSettings() {
|
||||
|
Reference in New Issue
Block a user