mirror of
https://github.com/processone/ejabberd
synced 2025-10-03 01:39:35 +02:00
Remove direct calls to muc_room mnesia table in mod_muc_admin (#2448)
This commit is contained in:
parent
0146189b65
commit
5b373470ac
1 changed files with 1 additions and 3 deletions
|
@ -424,9 +424,7 @@ web_page_main(_, #request{path=[<<"muc">>], lang = Lang} = _Request) ->
|
|||
Res = [?XCT(<<"h1">>, <<"Multi-User Chat">>),
|
||||
?XCT(<<"h3">>, <<"Statistics">>),
|
||||
?XAE(<<"table">>, [],
|
||||
[?XE(<<"tbody">>, [?TDTD(<<"Total rooms">>, OnlineRoomsNumber),
|
||||
?TDTD(<<"Permanent rooms">>, mnesia:table_info(muc_room, size)),
|
||||
?TDTD(<<"Registered nicknames">>, mnesia:table_info(muc_registered, size))
|
||||
[?XE(<<"tbody">>, [?TDTD(<<"Total rooms">>, OnlineRoomsNumber)
|
||||
])
|
||||
]),
|
||||
?XE(<<"ul">>, [?LI([?ACT(<<"rooms">>, <<"List of rooms">>)])])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue