Skip to content

Commit

Permalink
use new tool opencast
Browse files Browse the repository at this point in the history
  • Loading branch information
Tamara Gunkel committed Jun 4, 2021
1 parent bafb224 commit 5519b7a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ private function add_video_published_data($video) {
*/
private function get_course_videos($courseid) {

$mapping = \tool_opencast\seriesmapping::get_record(array('courseid' => $courseid));
$mapping = \tool_opencast\seriesmapping::get_record(array('courseid' => $courseid, 'isdefault' => '1'));

if (!$mapping || !($seriesid = $mapping->get('series'))) {
return array();
Expand Down
4 changes: 2 additions & 2 deletions version.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

defined('MOODLE_INTERNAL') || die();

$plugin->version = 2018052301; // The current plugin version (Date: YYYYMMDDXX)
$plugin->version = 2021060400; // The current plugin version (Date: YYYYMMDDXX)
$plugin->requires = 2015050500; // Requires this Moodle version
$plugin->component = 'repository_opencast'; // Full name of the plugin (used for diagnostics).
$plugin->dependencies = array('tool_opencast' => 2018052300);
$plugin->dependencies = array('tool_opencast' => 2021060400);

0 comments on commit 5519b7a

Please sign in to comment.