summaryrefslogtreecommitdiffstats
path: root/api/emoji.go
diff options
context:
space:
mode:
authorChris <ccbrown112@gmail.com>2017-10-30 11:58:00 -0500
committerGitHub <noreply@github.com>2017-10-30 11:58:00 -0500
commit3cbacb6858ea2dda67719de64854ed30dea3b626 (patch)
tree8d0177242e65c809250fa73bd93faae26bd1ca10 /api/emoji.go
parentc5e8cb25caa39ed018ede5270e1566e8f7448396 (diff)
downloadchat-3cbacb6858ea2dda67719de64854ed30dea3b626.tar.gz
chat-3cbacb6858ea2dda67719de64854ed30dea3b626.tar.bz2
chat-3cbacb6858ea2dda67719de64854ed30dea3b626.zip
Remove unused variables / code (#7736)
* remove unused variables / code * fix bug in testPostStoreGetOldest
Diffstat (limited to 'api/emoji.go')
-rw-r--r--api/emoji.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/api/emoji.go b/api/emoji.go
index 8e89cf075..4edbbd082 100644
--- a/api/emoji.go
+++ b/api/emoji.go
@@ -192,10 +192,6 @@ func getEmojiImage(c *Context, w http.ResponseWriter, r *http.Request) {
w.Write(image)
}
-func getEmojiImagePath(id string) string {
- return "emoji/" + id + "/image"
-}
-
func resizeEmoji(img image.Image, width int, height int) image.Image {
emojiWidth := float64(width)
emojiHeight := float64(height)