summaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
Diffstat (limited to 'api')
-rw-r--r--api/context.go1
-rw-r--r--api/emoji.go4
2 files changed, 0 insertions, 5 deletions
diff --git a/api/context.go b/api/context.go
index 778df4625..fee78dbfd 100644
--- a/api/context.go
+++ b/api/context.go
@@ -32,7 +32,6 @@ type Context struct {
T goi18n.TranslateFunc
Locale string
TeamId string
- isSystemAdmin bool
}
func (api *API) ApiAppHandler(h func(*Context, http.ResponseWriter, *http.Request)) http.Handler {
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)