summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2023-10-05 17:42:44 -0400
committerGitHub <noreply@github.com>2023-10-05 17:42:44 -0400
commit3555790b27a923f29283dbb01fed6844086edcd1 (patch)
tree97a9f0730803750faeae7109a05c1d654a512a02 /synapse
parentRemove manys calls to cursor_to_dict (#16431) (diff)
downloadsynapse-3555790b27a923f29283dbb01fed6844086edcd1.tar.xz
Remove unused method. (#16435)
Diffstat (limited to 'synapse')
-rw-r--r--synapse/storage/databases/main/__init__.py20
1 files changed, 0 insertions, 20 deletions
diff --git a/synapse/storage/databases/main/__init__.py b/synapse/storage/databases/main/__init__.py
index 101403578c..dfcbf0a175 100644
--- a/synapse/storage/databases/main/__init__.py
+++ b/synapse/storage/databases/main/__init__.py
@@ -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,