From 81287ba022ae906f1f9eb5b1324567cd93771b4e Mon Sep 17 00:00:00 2001 From: Unknwon Date: Wed, 27 Aug 2014 22:40:45 +0800 Subject: Mirror issue fix --- routers/user/setting.go | 8 -------- 1 file changed, 8 deletions(-) (limited to 'routers') 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 -- cgit v1.2.3