|
|
@@ -92,7 +92,6 @@ func Settings(c *context.Context) {
|
|
|
c.Data["status"] = c.User.Status
|
|
|
c.Data["themecolor"] = c.User.ThemeColor
|
|
|
c.Data["is_beta"] = c.User.IsBeta
|
|
|
- c.Data["show_ads"] = c.User.ShowAds
|
|
|
c.Data["private_email"] = c.User.PrivateEmail
|
|
|
c.Data["private_profile"] = c.User.PrivateProfile
|
|
|
c.Success(SettingsProfileTPL)
|
|
|
@@ -161,7 +160,6 @@ func SettingsPost(c *context.Context, f form.UpdateProfile) {
|
|
|
c.User.Status = f.Status
|
|
|
c.User.ThemeColor = f.ThemeColor
|
|
|
c.User.IsBeta = f.IsBeta
|
|
|
- c.User.ShowAds = f.ShowAds
|
|
|
c.User.PrivateEmail = f.PrivateEmail
|
|
|
c.User.PrivateProfile = f.PrivateProfile
|
|
|
|