From e9d6287dc8fefc9ea6fa1c49743364218a188abd Mon Sep 17 00:00:00 2001 From: Amit Yadav Date: Thu, 2 Feb 2017 20:08:18 +0530 Subject: Fix defaults in code to match config.json (#5269) --- model/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model/config.go b/model/config.go index 4588731b6..a134717ba 100644 --- a/model/config.go +++ b/model/config.go @@ -847,7 +847,7 @@ func (o *Config) SetDefaults() { if o.ServiceSettings.AllowEditPost == nil { o.ServiceSettings.AllowEditPost = new(string) - *o.ServiceSettings.AllowEditPost = ALLOW_EDIT_POST_TIME_LIMIT + *o.ServiceSettings.AllowEditPost = ALLOW_EDIT_POST_ALWAYS } if o.ServiceSettings.PostEditTimeLimit == nil { -- cgit v1.2.3-1-g7c22