summaryrefslogtreecommitdiffstats
path: root/modules/setting/session.go
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2019-07-17 09:04:37 +0800
committerGitHub <noreply@github.com>2019-07-17 09:04:37 +0800
commitce087c58efc16e36ba5786c3396c44e123461b37 (patch)
treec293572f83bce0468c68bae613aa2a1bb0f76a58 /modules/setting/session.go
parent2771619acfd8a690c610363b12dd5b8e12f62e12 (diff)
downloadgitea-ce087c58efc16e36ba5786c3396c44e123461b37.tar.gz
gitea-ce087c58efc16e36ba5786c3396c44e123461b37.zip
Remove settting dependency on modules/session (#7237)
* remove settting dependency on modules/session * fix fmt * fix tests * fix lint
Diffstat (limited to 'modules/setting/session.go')
-rw-r--r--modules/setting/session.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/modules/setting/session.go b/modules/setting/session.go
index 7009576ccb..bed3a9d8c0 100644
--- a/modules/setting/session.go
+++ b/modules/setting/session.go
@@ -11,8 +11,6 @@ import (
"strings"
"code.gitea.io/gitea/modules/log"
- // This ensures that VirtualSessionProvider is available
- _ "code.gitea.io/gitea/modules/session"
"github.com/go-macaron/session"
)