mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-08 07:10:56 +03:00
data provider: update internal caches if the data provider is shared
This commit is contained in:
@@ -670,6 +670,11 @@ func (p *BoltProvider) dumpUsers() ([]User, error) {
|
||||
return users, err
|
||||
}
|
||||
|
||||
// bolt provider cannot be shared, so we always return no recently updated users
|
||||
func (p *BoltProvider) getRecentlyUpdatedUsers(after int64) ([]User, error) {
|
||||
return nil, nil
|
||||
}
|
||||
|
||||
func (p *BoltProvider) getUsers(limit int, offset int, order string) ([]User, error) {
|
||||
users := make([]User, 0, limit)
|
||||
var err error
|
||||
|
||||
Reference in New Issue
Block a user