Skip to content

Commit

Permalink
Fix codestyle
Browse files Browse the repository at this point in the history
  • Loading branch information
justusdieckmann committed May 17, 2024
1 parent 46cb047 commit 32fbc56
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions backup/moodle2/backup_opencast_block_task.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ protected function define_my_settings() {
$stringobj = new \stdClass();
$stringobj->title = $videotobackup->title;
$stringobj->identifier = '***' . substr($videotobackup->identifier, -6);
$videolist []= "- " . get_string('importvideos_wizard_event_cb_title', 'block_opencast', $stringobj);
$videolist[] = "- " . get_string('importvideos_wizard_event_cb_title', 'block_opencast', $stringobj);
}
// The label does not support any html, so we need to use the text for line breaks.
$seriessetting->get_ui()->set_text(join('<br>', $videolist));
Expand Down Expand Up @@ -158,8 +158,7 @@ protected function define_my_settings() {
get_string('importvideos_wizard_event_cb_title', 'block_opencast', $stringobj)
);
$this->add_setting($episodesetting);
$this->get_setting($seriessettingname)
->add_dependency($episodesetting, setting_dependency::DISABLED_NOT_CHECKED);
$this->get_setting($seriessettingname)->add_dependency($episodesetting, setting_dependency::DISABLED_NOT_CHECKED);
}
}
}
Expand Down

0 comments on commit 32fbc56

Please sign in to comment.