Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Remove unused method. #16435

Merged
merged 2 commits into from
Oct 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/16435.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Remove unused method.
20 changes: 0 additions & 20 deletions synapse/storage/databases/main/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,26 +142,6 @@ def __init__(

super().__init__(database, db_conn, hs)

async def get_users(self) -> List[JsonDict]:
"""Function to retrieve a list of users in users table.

Returns:
A list of dictionaries representing users.
"""
return await self.db_pool.simple_select_list(
table="users",
keyvalues={},
retcols=[
"name",
"password_hash",
"is_guest",
"admin",
"user_type",
"deactivated",
],
desc="get_users",
)

async def get_users_paginate(
self,
start: int,
Expand Down
Loading