Removed one other place non-test code was calling Reinitialize_Obsolete

--HG--
branch : dev
This commit is contained in:
Louis DeJardin
2010-04-28 12:46:29 -07:00
parent cadfd78c55
commit f892a18588

View File

@@ -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
}
}