diff options
author | Daniel Wagner-Hall <daniel@matrix.org> | 2015-09-22 13:47:40 +0100 |
---|---|---|
committer | Daniel Wagner-Hall <daniel@matrix.org> | 2015-09-22 13:47:40 +0100 |
commit | 6d59ffe1ce9a821d50d491f97bf05950198f6f53 (patch) | |
tree | 2324815f78ea2fe5eebe29472ca5d169dd274953 /synapse/storage/registration.py | |
parent | Catch stats-reporting errors (diff) | |
download | synapse-6d59ffe1ce9a821d50d491f97bf05950198f6f53.tar.xz |
Add some docstrings
Diffstat (limited to 'synapse/storage/registration.py')
-rw-r--r-- | synapse/storage/registration.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/storage/registration.py b/synapse/storage/registration.py index 6d76237658..b454dd5b3a 100644 --- a/synapse/storage/registration.py +++ b/synapse/storage/registration.py @@ -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) |