From 8664b6bb2e0d586e591a7d253a1abd537086b8a7 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Thu, 9 Jun 2016 18:53:53 -0400 Subject: [PATCH] remove old doc db settings --- src/Api/settings.json | 7 ------- src/Core/GlobalSettings.cs | 10 ---------- 2 files changed, 17 deletions(-) diff --git a/src/Api/settings.json b/src/Api/settings.json index f9fe224f0d..ca0aebe43e 100644 --- a/src/Api/settings.json +++ b/src/Api/settings.json @@ -3,13 +3,6 @@ "siteName": "bitwarden", "baseVaultUri": "http://localhost:4001", "jwtSigningKey": "THIS IS A SECRET. IT KEEPS YOUR TOKEN SAFE. :)", - "documentDB": { - "uri": "SECRET", - "key": "SECRET", - "databaseId": "SECRET", - "collectionIdPrefix": "SECRET", - "numberOfCollections": 1 - }, "sqlServer": { "connectionString": "SECRET" }, diff --git a/src/Core/GlobalSettings.cs b/src/Core/GlobalSettings.cs index 63e4a0fe47..d859d0c7b1 100644 --- a/src/Core/GlobalSettings.cs +++ b/src/Core/GlobalSettings.cs @@ -8,20 +8,10 @@ namespace Bit.Core public virtual string SiteName { get; set; } public virtual string BaseVaultUri { get; set; } public virtual string JwtSigningKey { get; set; } - public virtual DocumentDBSettings DocumentDB { get; set; } = new DocumentDBSettings(); public virtual SqlServerSettings SqlServer { get; set; } = new SqlServerSettings(); public virtual MailSettings Mail { get; set; } = new MailSettings(); public virtual LoggrSettings Loggr { get; set; } = new LoggrSettings(); - public class DocumentDBSettings - { - public string Uri { get; set; } - public string Key { get; set; } - public string DatabaseId { get; set; } - public string CollectionIdPrefix { get; set; } - public int NumberOfCollections { get; set; } - } - public class SqlServerSettings { public string ConnectionString { get; set; }