aboutsummaryrefslogtreecommitdiff
path: root/lib/navigation/ContentsNavigation.php
diff options
context:
space:
mode:
authorPhilipp Schüttlöffel <schuettloeffel@zqs.uni-hannover.de>2024-09-24 10:53:31 +0200
committerPhilipp Schüttlöffel <schuettloeffel@zqs.uni-hannover.de>2024-09-24 10:53:31 +0200
commit4459dd7917f4d1c34f40bb68f0e991e9c3d53e4c (patch)
tree5c07151ae61276d334e88f6309c30d439a85c12e /lib/navigation/ContentsNavigation.php
parentda0022e5c1abbf9825ae76debaabdff7e8623bb4 (diff)
parent97a188592c679890a25c37ab78463add76a52ff7 (diff)
Merge branch 'main' into issue-3911issue-3911
Diffstat (limited to 'lib/navigation/ContentsNavigation.php')
-rw-r--r--lib/navigation/ContentsNavigation.php9
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');