diff --git a/plinth/context_processors.py b/plinth/context_processors.py index ddfc2af0f..8bef5d697 100644 --- a/plinth/context_processors.py +++ b/plinth/context_processors.py @@ -32,7 +32,6 @@ def common(request): ] # Ignore the first two slashes '/plinth/apps/' return { 'cfg': cfg, - 'submenu': menu.main_menu.active_item(request), 'active_menu_urls': active_menu_urls, 'box_name': _(cfg.box_name), 'user_is_admin': is_user_admin(request, True), diff --git a/plinth/tests/test_context_processors.py b/plinth/tests/test_context_processors.py index 50f7e9e13..94547d4ca 100644 --- a/plinth/tests/test_context_processors.py +++ b/plinth/tests/test_context_processors.py @@ -36,9 +36,6 @@ def test_common(Notification, load_cfg): assert response['box_name'] == 'FreedomBox' - submenu = response['submenu'] - assert submenu is None - urls = response['active_menu_urls'] assert urls is not None assert ['/plinth/aaa/', '/plinth/aaa/bbb/', '/plinth/aaa/bbb/ccc/'] == urls