Skip to content

Commit 6811dfb

Browse files
author
Tamara Gunkel
committed
fix codechecker issues
1 parent 987c281 commit 6811dfb

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

overview.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,8 @@
8787
$sortcolumns = $table->get_sort_columns();
8888

8989
$activityinstalled = \core_plugin_manager::instance()->get_plugin_info('mod_opencast') != null;
90-
$showchangeownerlink = course_can_view_participants(context_system::instance()) && !empty(get_config('aclownerrole_' . $ocinstanceid, 'block_opencast'));
90+
$showchangeownerlink = course_can_view_participants(context_system::instance()) &&
91+
!empty(get_config('aclownerrole_' . $ocinstanceid, 'block_opencast'));
9192

9293
foreach ($myseries as $seriesid) {
9394
$row = array();

overview_videos.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,8 @@
103103

104104
$videos = $apibridge->get_series_videos($series)->videos;
105105
$activityinstalled = \core_plugin_manager::instance()->get_plugin_info('mod_opencast') != null;
106-
$showchangeownerlink = course_can_view_participants(context_system::instance()) && !empty(get_config('aclownerrole_' . $ocinstanceid, 'block_opencast'));
106+
$showchangeownerlink = course_can_view_participants(context_system::instance()) &&
107+
!empty(get_config('aclownerrole_' . $ocinstanceid, 'block_opencast'));
107108

108109
foreach ($renderer->create_overview_videos_rows($videos, $apibridge, $ocinstanceid,
109110
$activityinstalled, $showchangeownerlink) as $row) {

0 commit comments

Comments
 (0)