diff --git a/pkg/modules/avatar/upload/upload.go b/pkg/modules/avatar/upload/upload.go index b822b2f72..2334019fb 100644 --- a/pkg/modules/avatar/upload/upload.go +++ b/pkg/modules/avatar/upload/upload.go @@ -30,17 +30,6 @@ import ( "strconv" ) -var ( -// This is a map with a map so we're able to clear all cached avatar (in all sizes) for one user at once -// The first map has as key the user id, the second one has the size as key -//resizedCache = map[int64]map[int64][]byte{} -//resizedCacheLock = sync.Mutex{} -) - -//func init() { -// resizedCache = make(map[int64]map[int64][]byte) -//} - // Provider represents the upload avatar provider type Provider struct { }