update comments to reflect new sig

pull/3633/head
Neil Johnson 2018-08-06 18:01:46 +01:00
parent 16d78be315
commit 1911c037cb
1 changed files with 1 additions and 4 deletions

View File

@ -778,10 +778,7 @@ class Auth(object):
def check_auth_blocking(self):
"""Checks if the user should be rejected for some external reason,
such as monthly active user limiting or global disable flag
Args:
error (Error): The error that should be raised if user is to be
blocked
"""
"""
if self.hs.config.limit_usage_by_mau is True:
current_mau = yield self.store.get_monthly_active_count()
if current_mau >= self.hs.config.max_mau_value: