Remove internal.PartitionStorer from components that don't consume keychanges

This commit is contained in:
Neil Alexander 2021-11-04 09:48:12 +00:00
parent b8488f777c
commit d9d36c075f
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944
2 changed files with 0 additions and 4 deletions

View file

@ -20,12 +20,10 @@ import (
"errors"
"github.com/matrix-org/dendrite/clientapi/auth/authtypes"
"github.com/matrix-org/dendrite/internal"
"github.com/matrix-org/dendrite/userapi/api"
)
type Database interface {
internal.PartitionStorer
GetAccountByPassword(ctx context.Context, localpart, plaintextPassword string) (*api.Account, error)
GetProfileByLocalpart(ctx context.Context, localpart string) (*authtypes.Profile, error)
SetPassword(ctx context.Context, localpart string, plaintextPassword string) error