From 700ac8dea7153afce3672f032cc30b96a357539c Mon Sep 17 00:00:00 2001 From: Unknwon Date: Mon, 21 Sep 2015 10:09:21 -0400 Subject: [PATCH] fix #1664 --- modules/setting/setting.go | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/modules/setting/setting.go b/modules/setting/setting.go index 3164a50a66..c326ed3794 100644 --- a/modules/setting/setting.go +++ b/modules/setting/setting.go @@ -18,7 +18,6 @@ import ( "gopkg.in/ini.v1" "github.com/Unknwon/com" - "github.com/macaron-contrib/oauth2" "github.com/macaron-contrib/session" "github.com/gogits/gogs/modules/bindata" @@ -557,18 +556,6 @@ type Mailer struct { CertFile, KeyFile string } -type OauthInfo struct { - oauth2.Options - AuthUrl, TokenUrl string -} - -// Oauther represents oauth service. -type Oauther struct { - GitHub, Google, Tencent, - Twitter, Weibo bool - OauthInfos map[string]*OauthInfo -} - var ( MailService *Mailer )