summaryrefslogtreecommitdiffstats
path: root/routers/user/setting.go
diff options
context:
space:
mode:
authorUnknwon <joe2010xtmf@163.com>2014-08-27 22:40:45 +0800
committerUnknwon <joe2010xtmf@163.com>2014-08-27 22:40:45 +0800
commit81287ba022ae906f1f9eb5b1324567cd93771b4e (patch)
tree35a32fae8597f90ad61c0b955e2f0c0d0e3c3306 /routers/user/setting.go
parent9baf2b38d025eaf1d9bbb10a4616c71813ea7054 (diff)
downloadgitea-81287ba022ae906f1f9eb5b1324567cd93771b4e.tar.gz
gitea-81287ba022ae906f1f9eb5b1324567cd93771b4e.zip
Mirror issue fix
Diffstat (limited to 'routers/user/setting.go')
-rw-r--r--routers/user/setting.go8
1 files changed, 0 insertions, 8 deletions
diff --git a/routers/user/setting.go b/routers/user/setting.go
index d3b792134d..4e0e468f0e 100644
--- a/routers/user/setting.go
+++ b/routers/user/setting.go
@@ -21,7 +21,6 @@ const (
SETTINGS_PASSWORD base.TplName = "user/settings/password"
SETTINGS_SSH_KEYS base.TplName = "user/settings/sshkeys"
SETTINGS_SOCIAL base.TplName = "user/settings/social"
- SETTINGS_ORGS base.TplName = "user/settings/orgs"
SETTINGS_DELETE base.TplName = "user/settings/delete"
NOTIFICATION base.TplName = "user/notification"
SECURITY base.TplName = "user/security"
@@ -231,13 +230,6 @@ func SettingsSocial(ctx *middleware.Context) {
ctx.HTML(200, SETTINGS_SOCIAL)
}
-func SettingsOrgs(ctx *middleware.Context) {
- ctx.Data["Title"] = ctx.Tr("settings")
- ctx.Data["PageIsUserSettings"] = true
- ctx.Data["PageIsSettingsOrgs"] = true
- ctx.HTML(200, SETTINGS_ORGS)
-}
-
func SettingsDelete(ctx *middleware.Context) {
ctx.Data["Title"] = ctx.Tr("settings")
ctx.Data["PageIsUserSettings"] = true