diff options
Diffstat (limited to 'lib/navigation/ContentsNavigation.php')
| -rw-r--r-- | lib/navigation/ContentsNavigation.php | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/lib/navigation/ContentsNavigation.php b/lib/navigation/ContentsNavigation.php index 821d3ad..a00adb6 100644 --- a/lib/navigation/ContentsNavigation.php +++ b/lib/navigation/ContentsNavigation.php @@ -42,7 +42,7 @@ class ContentsNavigation extends Navigation $this->addSubNavigation('overview', $overview); - if (PluginManager::getInstance()->getPlugin('CoursewareModule')) { + if (PluginManager::getInstance()->getPlugin(CoursewareModule::class)) { $courseware = new Navigation(_('Courseware')); $courseware->setDescription(_('Erstellen und Sammeln von Lernmaterialien')); $courseware->setImage(Icon::create('courseware')); @@ -124,13 +124,6 @@ class ContentsNavigation extends Navigation } } - if (Config::get()->EVAL_ENABLE) { - $eval = new Navigation(_('Evaluationen'), 'admin_evaluation.php', ['rangeID' => $GLOBALS['user']->username]); - $eval->setImage(Icon::create('test')); - $eval->setDescription(_('Erstellen Sie komplexe Befragungen')); - $this->addSubNavigation('evaluation', $eval); - } - // elearning if (Config::get()->ELEARNING_INTERFACE_ENABLE) { $elearning = new Navigation(_('Lernmodule'), 'dispatch.php/elearning/my_accounts'); |
