mirror of
https://github.com/go-gitea/gitea.git
synced 2026-07-30 23:04:08 +02:00
MOVE
This commit is contained in:
@@ -35,7 +35,7 @@ func Notifications(ctx *context.Context) {
|
||||
// SetGlobalEmailNotificationPreference set user's email notification preference
|
||||
func SetGlobalEmailNotificationPreference(ctx *context.Context) {
|
||||
if !setting.Service.EnableNotifyMail {
|
||||
ctx.HTTPError(http.StatusNotFound)
|
||||
ctx.NotFound(errors.New("NotifyMail not enabled"))
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user