mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 03:25:23 +08:00
Removed one other place non-test code was calling Reinitialize_Obsolete
--HG-- branch : dev
This commit is contained in:
@@ -12,20 +12,12 @@ namespace Orchard.MultiTenancy.Services {
|
||||
_orchardHost = orchardHost;
|
||||
}
|
||||
|
||||
#region Implementation of ITenantService
|
||||
|
||||
public IEnumerable<ShellSettings> GetTenants() {
|
||||
return _shellSettingsManager.LoadSettings();
|
||||
}
|
||||
|
||||
public void CreateTenant(ShellSettings settings) {
|
||||
_shellSettingsManager.SaveSettings(settings);
|
||||
|
||||
|
||||
// MultiTenancy: This will not be needed when host listens to event bus
|
||||
_orchardHost.Reinitialize_Obsolete();
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user