diff options
author | ᴜɴᴋɴᴡᴏɴ <u@gogs.io> | 2020-08-29 14:49:54 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-29 14:49:54 +0800 |
commit | cb88caa2d2e9784d5db406547610d5b70ce25163 (patch) | |
tree | 0bbd6c58b883b1e3c65e3af67230e75e503937c4 /internal/route/install.go | |
parent | cf216f12a1d02167f9cfce0521915aeb87e155bb (diff) |
install: remove MSSQL option (#6295)
Diffstat (limited to 'internal/route/install.go')
-rw-r--r-- | internal/route/install.go | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/internal/route/install.go b/internal/route/install.go index 446940d1..9a8f2e39 100644 --- a/internal/route/install.go +++ b/internal/route/install.go @@ -121,7 +121,7 @@ func InstallInit(c *context.Context) { c.Title("install.install") c.PageIs("Install") - c.Data["DbOptions"] = []string{"MySQL", "PostgreSQL", "MSSQL", "SQLite3"} + c.Data["DbOptions"] = []string{"MySQL", "PostgreSQL", "SQLite3"} } func Install(c *context.Context) { @@ -137,8 +137,6 @@ func Install(c *context.Context) { switch conf.Database.Type { case "mysql": c.Data["CurDbOption"] = "MySQL" - case "mssql": - c.Data["CurDbOption"] = "MSSQL" case "sqlite3": c.Data["CurDbOption"] = "SQLite3" } @@ -210,7 +208,6 @@ func InstallPost(c *context.Context, f form.Install) { dbTypes := map[string]string{ "PostgreSQL": "postgres", "MySQL": "mysql", - "MSSQL": "mssql", "SQLite3": "sqlite3", } conf.Database.Type = dbTypes[f.DbType] |