From 2116b216de68ab9085098460e40cb6417703c548 Mon Sep 17 00:00:00 2001 From: Rick Falkvinge Date: Tue, 6 Dec 2011 16:23:13 +0000 Subject: [PATCH] Syntax fix --- Database/Database-Constructors.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Database/Database-Constructors.cs b/Database/Database-Constructors.cs index 0c40591c..8c40f56b 100644 --- a/Database/Database-Constructors.cs +++ b/Database/Database-Constructors.cs @@ -170,7 +170,7 @@ namespace Activizr.Database // If we still have nothing, and we're running from web, then assume we have a dev environment and use the hostname as db, user, and pass. if (String.IsNullOrEmpty(connectionString)) { - else if (HttpContext.Current != null) + if (HttpContext.Current != null) { string hostName = HttpContext.Current.Request.Url.Host;