mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 10:56:06 -04:00
Add some docstrings
This commit is contained in:
parent
b6e0303c83
commit
6d59ffe1ce
2 changed files with 4 additions and 0 deletions
|
@ -292,6 +292,7 @@ class RegistrationStore(SQLBaseStore):
|
|||
|
||||
@defer.inlineCallbacks
|
||||
def count_all_users(self):
|
||||
"""Counts all users registered on the homeserver."""
|
||||
def _count_users(txn):
|
||||
txn.execute("SELECT COUNT(*) AS users FROM users")
|
||||
rows = self.cursor_to_dict(txn)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue