From 58e004f7da58eaa8c461e34cc2fbbb9727f6fa33 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Sun, 14 Feb 2016 23:14:55 -0500 Subject: Remove cache avatar support and add its tests --- modules/setting/setting.go | 2 -- 1 file changed, 2 deletions(-) (limited to 'modules/setting') diff --git a/modules/setting/setting.go b/modules/setting/setting.go index 00dae6f6..d82f16db 100644 --- a/modules/setting/setting.go +++ b/modules/setting/setting.go @@ -455,7 +455,6 @@ var Service struct { DisableRegistration bool ShowRegistrationButton bool RequireSignInView bool - EnableCacheAvatar bool EnableNotifyMail bool EnableReverseProxyAuth bool EnableReverseProxyAutoRegister bool @@ -469,7 +468,6 @@ func newService() { Service.DisableRegistration = sec.Key("DISABLE_REGISTRATION").MustBool() Service.ShowRegistrationButton = sec.Key("SHOW_REGISTRATION_BUTTON").MustBool(!Service.DisableRegistration) Service.RequireSignInView = sec.Key("REQUIRE_SIGNIN_VIEW").MustBool() - Service.EnableCacheAvatar = sec.Key("ENABLE_CACHE_AVATAR").MustBool() Service.EnableReverseProxyAuth = sec.Key("ENABLE_REVERSE_PROXY_AUTHENTICATION").MustBool() Service.EnableReverseProxyAutoRegister = sec.Key("ENABLE_REVERSE_PROXY_AUTO_REGISTRATION").MustBool() Service.EnableCaptcha = sec.Key("ENABLE_CAPTCHA").MustBool() -- cgit v1.2.3