Merge pull request #111 from mrd0ll4r/backendparams

backend: remove unused parameter from LoadAllUsers()
This commit is contained in:
Jimmy Zelinskie 2015-10-28 14:20:49 -04:00
commit 29dc5f5fb3
2 changed files with 2 additions and 2 deletions

View file

@ -71,5 +71,5 @@ type Conn interface {
LoadUsers(ids []uint64) ([]*models.User, error)
// LoadAllUsers fetches and returns all users.
LoadAllUsers(ids []uint64) ([]*models.User, error)
LoadAllUsers() ([]*models.User, error)
}

View file

@ -54,7 +54,7 @@ func (n *NoOp) LoadUsers(ids []uint64) ([]*models.User, error) {
}
// LoadAllUsers returns (nil, nil).
func (n *NoOp) LoadAllUsers(ids []uint64) ([]*models.User, error) {
func (n *NoOp) LoadAllUsers() ([]*models.User, error) {
return nil, nil
}