Set the providername as well when updating the connection string

This commit is contained in:
Sebastiaan Janssen
2013-01-02 07:21:08 -01:00
parent 212fd47237
commit 2e5ba0b1e4

View File

@@ -211,6 +211,7 @@ namespace Umbraco.Core
else
{
setting.Attribute("connectionString").Value = connectionString;
setting.Attribute("providerName").Value = providerName;
}
xml.Save(fileName, SaveOptions.DisableFormatting);