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