Skip to content
Snippets Groups Projects
Commit b46f6dd7 authored by Thomas Hackl's avatar Thomas Hackl
Browse files

show OER navigation item only if OER is enabled, re #233

parent 79cd055e
No related branches found
No related tags found
No related merge requests found
......@@ -252,7 +252,9 @@ class StartNavigation extends Navigation
$this->addSubNavigation('contents', $navigation);
// oer
$this->addSubNavigation('oer', new Navigation(_('OER Campus'), 'dispatch.php/oer/market'));
if (Config::get()->OERCAMPUS_ENABLED) {
$this->addSubNavigation('oer', new Navigation(_('OER Campus'), 'dispatch.php/oer/market'));
}
// messaging
$navigation = new Navigation(_('Nachrichten'));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment