24
1
mirror of https://github.com/processone/ejabberd.git synced 2024-06-08 21:43:07 +02:00

No need for a top menu link as there's a top page link

This commit is contained in:
Badlop 2015-12-02 17:10:23 +01:00
parent c3888cb0ca
commit f9e12d900c

View File

@ -2889,7 +2889,7 @@ make_server_menu(HostMenu, NodeMenu, Lang, JID) ->
Fixed2 = [Tuple Fixed2 = [Tuple
|| Tuple <- Fixed, || Tuple <- Fixed,
is_allowed_path(BasePath, Tuple, JID)], is_allowed_path(BasePath, Tuple, JID)],
{Base, <<"ejabberd">>, Fixed2}. {Base, <<"">>, Fixed2}.
get_menu_items_hook({hostnode, Host, Node}, Lang) -> get_menu_items_hook({hostnode, Host, Node}, Lang) ->
ejabberd_hooks:run_fold(webadmin_menu_hostnode, Host, ejabberd_hooks:run_fold(webadmin_menu_hostnode, Host,