aboutsummaryrefslogtreecommitdiff
path: root/app/controllers/course/overview.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/course/overview.php')
-rw-r--r--app/controllers/course/overview.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/app/controllers/course/overview.php b/app/controllers/course/overview.php
index 96e7f5a..876de5a 100644
--- a/app/controllers/course/overview.php
+++ b/app/controllers/course/overview.php
@@ -58,8 +58,6 @@ class Course_OverviewController extends AuthenticatedController
// Fetch votes
if (Config::get()->VOTE_ENABLE) {
- $response = $this->relay('evaluation/display/' . $this->course_id);
- $this->evaluations = $response->body;
$response = $this->relay('questionnaire/widget/' . $this->course_id);
$this->questionnaires = $response->body;
}
@@ -113,7 +111,7 @@ class Course_OverviewController extends AuthenticatedController
$this->avatar = StudygroupAvatar::getAvatar($this->course_id);
}
- $this->plugins = PluginEngine::getPlugins('StandardPlugin', $this->course_id);
+ $this->plugins = PluginEngine::getPlugins(StandardPlugin::class, $this->course_id);
$sidebar = Sidebar::get();