mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-20 10:58:33 +00:00
[sysadmin] update system info
This commit is contained in:
@@ -65,8 +65,7 @@ def sys_info(request):
|
||||
- `request`:
|
||||
"""
|
||||
try:
|
||||
users_count = ccnet_threaded_rpc.count_emailusers('DB') + \
|
||||
ccnet_threaded_rpc.count_emailusers('LDAP')
|
||||
users_count = ccnet_threaded_rpc.count_emailusers('DB') + ccnet_threaded_rpc.count_emailusers('LDAP')
|
||||
except Exception as e:
|
||||
logger.error(e)
|
||||
users_count = 0
|
||||
|
Reference in New Issue
Block a user