PLT-5900 Removed automatic configuration of SiteURL (#5952)

* Revert "PLT-5765 Passed SiteURL to SendNotifications (#5705)"

This reverts commit a8e68bd890.

* Removed automatic configuration of SiteURL

* Reverted unintentional config changes

* Updated help text

* Added link to docs in Site URL warning

* Fixed merge conflict
This commit is contained in:
Harrison Healey
2017-04-04 11:54:52 -04:00
committed by Joram Wilander
parent 3a79e451ff
commit c7bdce8a66
49 changed files with 336 additions and 268 deletions

View File

@@ -48,7 +48,7 @@ func createPost(c *Context, w http.ResponseWriter, r *http.Request) {
post.CreateAt = 0
}
rp, err := app.CreatePostAsUser(post, c.GetSiteURL())
rp, err := app.CreatePostAsUser(post)
if err != nil {
c.Err = err
return