diff options
author | Antoine GIRARD <sapk@users.noreply.github.com> | 2018-07-04 22:23:23 +0200 |
---|---|---|
committer | techknowlogick <techknowlogick@users.noreply.github.com> | 2018-07-04 16:23:23 -0400 |
commit | 74f9f98f781e85ea8544de31f0c29123caca0b03 (patch) | |
tree | aca09cfa8c58d5b27631fcfeb2a4817f9eae64e6 /models | |
parent | 2e3475f02c96e4f0288514a1a7949d751be055f7 (diff) | |
download | gitea-74f9f98f781e85ea8544de31f0c29123caca0b03.tar.gz gitea-74f9f98f781e85ea8544de31f0c29123caca0b03.zip |
Simply remove tidb and deps (#3993)
Diffstat (limited to 'models')
-rw-r--r-- | models/models_tidb.go | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/models/models_tidb.go b/models/models_tidb.go deleted file mode 100644 index 6ceffcf646..0000000000 --- a/models/models_tidb.go +++ /dev/null @@ -1,18 +0,0 @@ -// +build tidb - -// Copyright 2015 The Gogs Authors. All rights reserved. -// Use of this source code is governed by a MIT-style -// license that can be found in the LICENSE file. - -package models - -import ( - _ "github.com/go-xorm/tidb" - "github.com/ngaut/log" - _ "github.com/pingcap/tidb" -) - -func init() { - EnableTiDB = true - log.SetLevelByString("error") -} |