diff options
author | Unknwon <joe2010xtmf@163.com> | 2014-10-06 19:12:52 -0400 |
---|---|---|
committer | Unknwon <joe2010xtmf@163.com> | 2014-10-06 19:12:52 -0400 |
commit | 1e1f9e716660533dc3c570b51006e4e36b2c3a7f (patch) | |
tree | 10ee985984524d4218f0cd03c6f98bccde92429f /modules | |
parent | 64c68220d203cb07be001184cde4b35d4b503344 (diff) | |
download | gitea-1e1f9e716660533dc3c570b51006e4e36b2c3a7f.tar.gz gitea-1e1f9e716660533dc3c570b51006e4e36b2c3a7f.zip |
Update with macaron
Diffstat (limited to 'modules')
-rw-r--r-- | modules/middleware/context.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/modules/middleware/context.go b/modules/middleware/context.go index 90716d2c59..1d9f573898 100644 --- a/modules/middleware/context.go +++ b/modules/middleware/context.go @@ -29,7 +29,6 @@ import ( // Context represents context of a request. type Context struct { *macaron.Context - i18n.Locale Cache cache.Cache csrf csrf.CSRF Flash *session.Flash @@ -162,7 +161,6 @@ func Contexter() macaron.Handler { return func(c *macaron.Context, l i18n.Locale, cache cache.Cache, sess session.Store, f *session.Flash, x csrf.CSRF) { ctx := &Context{ Context: c, - Locale: l, Cache: cache, csrf: x, Flash: f, |