AB#8522 - Smidge reset updates the version string to the current ticks

This commit is contained in:
Bjarke Berg
2020-03-31 10:47:08 +02:00
parent ffc6ce6553
commit 117bfd1f12
10 changed files with 100 additions and 40 deletions

View File

@@ -6,5 +6,6 @@ namespace Umbraco.Core.Configuration
{
void RemoveConnectionString();
void SaveConnectionString(string connectionString, string providerName);
void SaveConfigValue(string itemPath, object value);
}
}

View File

@@ -106,6 +106,11 @@ namespace Umbraco.Core.Configuration
_logger.Info<XmlConfigManipulator>("Saved connection string to {ConfigFile}.", fileSource);
}
public void SaveConfigValue(string itemPath, object value)
{
throw new NotImplementedException();
}
private static void AddOrUpdateAttribute(XElement element, string name, string value)
{
var attribute = element.Attribute(name);