mirror of
https://mau.dev/maunium/synapse.git
synced 2024-10-01 01:36:05 -04:00
Remove unused method. (#16435)
This commit is contained in:
parent
fa907025f4
commit
3555790b27
1
changelog.d/16435.misc
Normal file
1
changelog.d/16435.misc
Normal file
@ -0,0 +1 @@
|
||||
Remove unused method.
|
@ -142,26 +142,6 @@ class DataStore(
|
||||
|
||||
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,
|
||||
|
Loading…
Reference in New Issue
Block a user