remove legacy Avatart interface from engine
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
package engine
|
||||
|
||||
import (
|
||||
"io"
|
||||
"sort"
|
||||
"strings"
|
||||
"time"
|
||||
@@ -56,13 +55,6 @@ type Admin interface {
|
||||
IsVerified(siteID string, userID string) bool // check verified status
|
||||
}
|
||||
|
||||
// Avatar defines interface for avatar store
|
||||
type Avatar interface {
|
||||
Put(userID string, reader io.Reader) (avatar string, err error)
|
||||
Get(avatar string) (reader io.ReadCloser, size int, err error)
|
||||
ID(avatar string) (id string)
|
||||
}
|
||||
|
||||
const (
|
||||
// limits
|
||||
lastLimit = 1000
|
||||
|
||||
Reference in New Issue
Block a user