diff options
author | Corey Hulen <corey@hulen.com> | 2016-04-28 06:53:30 -0700 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2016-04-28 09:53:30 -0400 |
commit | 9fecf96d3bf49e7c10cff58f656eabf829c83167 (patch) | |
tree | d7b8fc02ba39f1567fa691d0184f9d69ce6f8916 /api/post.go | |
parent | b49dc28d7e346e775bd75d1cce8046149440c0a4 (diff) | |
download | chat-9fecf96d3bf49e7c10cff58f656eabf829c83167.tar.gz chat-9fecf96d3bf49e7c10cff58f656eabf829c83167.tar.bz2 chat-9fecf96d3bf49e7c10cff58f656eabf829c83167.zip |
PLT-2687 sending email on upgrade and moving profile pic to new location (#2808)
* Fixing CLI and adding unit tests
* Adding the upgrade_db_30 to the help text
* Adding the upgrade_db_30 to the help text
* Adding the upgrade_db_30 to the help text
* Fixing CLI tests
* PLT-2687 sending email on upgrade and moving profile pic to new location
* Fixing img move
* Fixing moving of profile image
* making upgrade email localizable
* Fixing email template
Diffstat (limited to 'api/post.go')
-rw-r--r-- | api/post.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/post.go b/api/post.go index 7899145a6..c533ad656 100644 --- a/api/post.go +++ b/api/post.go @@ -1211,7 +1211,7 @@ func DeletePostFilesAndForget(teamId string, post *model.Post) { splitUrl := strings.Split(filename, "/") oldPath := prefix + splitUrl[len(splitUrl)-2] + "/" + splitUrl[len(splitUrl)-1] newPath := prefix + splitUrl[len(splitUrl)-2] + "/deleted_" + splitUrl[len(splitUrl)-1] - moveFile(oldPath, newPath) + MoveFile(oldPath, newPath) } }() |