Removed unnecessary property from xml connection loader

This commit is contained in:
David Sparer
2016-07-26 11:44:50 -06:00
parent 2eef31f74d
commit b4e26f513b
2 changed files with 1 additions and 6 deletions

View File

@@ -51,7 +51,6 @@ namespace mRemoteNG.Config.Connections
ConnectionList = ConnectionList,
ContainerList = ContainerList,
RootTreeNode = RootTreeNode,
UseSql = UseDatabase
};
xmlConnectionsLoader.LoadFromXml(import);
}

View File

@@ -31,7 +31,6 @@ namespace mRemoteNG.Config.Connections
private SecureString _pW = GeneralAppInfo.EncryptionKey;
public bool UseSql { get; set; }
public string ConnectionFileName { get; set; }
public TreeNode RootTreeNode { get; set; }
public ConnectionList ConnectionList { get; set; }
@@ -591,10 +590,7 @@ namespace mRemoteNG.Config.Connections
{
var passwordName = "";
var cryptographyProvider = new LegacyRijndaelCryptographyProvider();
if (UseSql)
passwordName = Language.strSQLServer.TrimEnd(':');
else
passwordName = Path.GetFileName(ConnectionFileName);
passwordName = Path.GetFileName(ConnectionFileName);
if (compareToOriginalValue)
{