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

Commit

Permalink
Remove unused method. (#16435)
Browse files Browse the repository at this point in the history
  • Loading branch information
clokep authored Oct 5, 2023
1 parent fa90702 commit 3555790
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 20 deletions.
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

0 comments on commit 3555790

Please sign in to comment.