diff options
author | David Baker <dave@matrix.org> | 2016-01-04 13:39:29 +0000 |
---|---|---|
committer | David Baker <dave@matrix.org> | 2016-01-04 13:39:29 +0000 |
commit | 3051c9d002a467643d1ab32bc36974d2e3f84c12 (patch) | |
tree | 0d660fd86194ded09dcb416f40c0dea40f0dcd2e /synapse/storage/registration.py | |
parent | Fix merge fail with anon access stuff (diff) | |
download | synapse-3051c9d002a467643d1ab32bc36974d2e3f84c12.tar.xz |
Address minor PR issues
Diffstat (limited to 'synapse/storage/registration.py')
-rw-r--r-- | synapse/storage/registration.py | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/synapse/storage/registration.py b/synapse/storage/registration.py index 4676f225b9..09a05b08ef 100644 --- a/synapse/storage/registration.py +++ b/synapse/storage/registration.py @@ -292,18 +292,6 @@ class RegistrationStore(SQLBaseStore): defer.returnValue(None) @defer.inlineCallbacks - def get_all_user_ids(self): - """Returns all user ids registered on this homeserver""" - return self.runInteraction( - "get_all_user_ids", - self._get_all_user_ids_txn - ) - - def _get_all_user_ids_txn(self, txn): - txn.execute("SELECT name from users") - return [r[0] for r in txn.fetchall()] - - @defer.inlineCallbacks def count_all_users(self): """Counts all users registered on the homeserver.""" def _count_users(txn): |