Skip to content
Snippets Groups Projects
Commit 41e4b2ef authored by Mark Haines's avatar Mark Haines
Browse files

Add the create_profile method back since the tests use it

parent 0c13d455
No related merge requests found
......@@ -17,6 +17,12 @@ from ._base import SQLBaseStore
class ProfileStore(SQLBaseStore):
def create_profile(self, user_localpart):
return self._simple_insert(
table="profiles",
values={"user_id": user_localpart},
desc="create_profile",
)
def get_profile_displayname(self, user_localpart):
return self._simple_select_one_onecol(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment