aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/mailer/mail.go1
-rw-r--r--modules/setting/setting.go2
2 files changed, 0 insertions, 3 deletions
diff --git a/modules/mailer/mail.go b/modules/mailer/mail.go
index 5a662b9010..6c73e7e58f 100644
--- a/modules/mailer/mail.go
+++ b/modules/mailer/mail.go
@@ -45,7 +45,6 @@ func GetMailTmplData(u *models.User) map[interface{}]interface{} {
data["AppName"] = setting.AppName
data["AppVer"] = setting.AppVer
data["AppUrl"] = setting.AppUrl
- data["AppLogo"] = setting.AppLogo
data["ActiveCodeLives"] = setting.Service.ActiveCodeLives / 60
data["ResetPwdCodeLives"] = setting.Service.ResetPwdCodeLives / 60
if u != nil {
diff --git a/modules/setting/setting.go b/modules/setting/setting.go
index ebc1020a33..199b4f2c27 100644
--- a/modules/setting/setting.go
+++ b/modules/setting/setting.go
@@ -32,7 +32,6 @@ var (
// App settings.
AppVer string
AppName string
- AppLogo string
AppUrl string
// Server settings.
@@ -155,7 +154,6 @@ func NewConfigContext() {
}
AppName = Cfg.MustValue("", "APP_NAME", "Gogs: Go Git Service")
- AppLogo = Cfg.MustValue("", "APP_LOGO", "img/favicon.png")
AppUrl = Cfg.MustValue("server", "ROOT_URL", "http://localhost:3000/")
if AppUrl[len(AppUrl)-1] != '/' {
AppUrl += "/"