From 4e04d4666d8fccc76b7c6c56b5d4b5be1339f285 Mon Sep 17 00:00:00 2001 From: Chase Tucker Date: Wed, 18 Oct 2023 14:20:50 -0700 Subject: [PATCH] Use same local attachment folder location in dev and prod --- Fab2ApprovalSystem/Misc/Functions.cs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Fab2ApprovalSystem/Misc/Functions.cs b/Fab2ApprovalSystem/Misc/Functions.cs index cfb490f..f409aa0 100644 --- a/Fab2ApprovalSystem/Misc/Functions.cs +++ b/Fab2ApprovalSystem/Misc/Functions.cs @@ -92,12 +92,7 @@ namespace Fab2ApprovalSystem.Misc public static string GetAttachmentFolder() { ConfigurationManager.RefreshSection("appSettings"); - if (GlobalVars.DBConnection.ToUpper() == "TEST" || GlobalVars.DBConnection.ToUpper() == "QUALITY") - { - return ConfigurationManager.AppSettings["AttachmentFolderTest"]; - } - else - return ConfigurationManager.AppSettings["AttachmentFolder"]; + return ConfigurationManager.AppSettings["AttachmentFolder"]; }