Removed more unnecessary warnings.

This commit is contained in:
berinder
2014-10-04 22:29:03 +02:00
parent 2712d36916
commit 3cc85cdd64
10 changed files with 58 additions and 54 deletions
+2 -4
View File
@@ -1,7 +1,5 @@
using System;
using System.Configuration;
using System.Collections.Generic;
using System.Text;
namespace Swarmops.Basic
{
@@ -11,7 +9,7 @@ namespace Swarmops.Basic
{
get
{
string portString = ConfigurationSettings.AppSettings["SmtpPort"];
string portString = ConfigurationManager.AppSettings["SmtpPort"];
if (String.IsNullOrEmpty(portString))
{
@@ -26,7 +24,7 @@ namespace Swarmops.Basic
{
get
{
string smtpHost = ConfigurationSettings.AppSettings["SmtpHost"];
string smtpHost = ConfigurationManager.AppSettings["SmtpHost"];
if (String.IsNullOrEmpty(smtpHost))
{