Implemented a real .Net configuration section for umbracoSettings.config + unit tests for every property. NOTE: This isn't referenced in the codebase yet, going to start setting default values for most of the properties so that we can remove them from the config file for shipping (ship minimal config) then reference these settings in the codebase.
This commit is contained in:
@@ -16,7 +16,7 @@ namespace Umbraco.Core.Sync
|
||||
private readonly XmlNode _xmlServers;
|
||||
|
||||
public ConfigServerRegistrar()
|
||||
: this(UmbracoSettings.DistributionServers)
|
||||
: this(LegacyUmbracoSettings.DistributionServers)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
@@ -39,7 +39,7 @@ namespace Umbraco.Core.Sync
|
||||
/// <param name="login"></param>
|
||||
/// <param name="password"></param>
|
||||
internal DefaultServerMessenger(string login, string password)
|
||||
: this(login, password, UmbracoSettings.UseDistributedCalls)
|
||||
: this(login, password, LegacyUmbracoSettings.UseDistributedCalls)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -226,7 +226,7 @@ namespace Umbraco.Core.Sync
|
||||
{
|
||||
Login = result.Item1;
|
||||
Password = result.Item2;
|
||||
_useDistributedCalls = UmbracoSettings.UseDistributedCalls;
|
||||
_useDistributedCalls = LegacyUmbracoSettings.UseDistributedCalls;
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
|
||||
Reference in New Issue
Block a user