Skip to content
Snippets Groups Projects
Commit 5cf99558 authored by TamaraGunkel's avatar TamaraGunkel
Browse files

removed unused dependencies

parent 0f646b5f
No related branches found
No related tags found
No related merge requests found
......@@ -69,12 +69,8 @@ class filter_opencast extends moodle_text_filter {
} else if ($video) {
$video = false;
if (substr($match, 0, 7) === "<source") {
// Get baseurl either from engageurl setting or from opencast tool.
// Get baseurl
$baseurl = get_config('filter_opencast', 'engageurl');
if (empty($baseurl)) {
$baseurl = get_config('tool_opencast', 'apiurl');
}
// Check if video is from opencast.
if (strpos($match, $baseurl) === false) {
......
......@@ -25,7 +25,6 @@
defined('MOODLE_INTERNAL') || die();
$plugin->version = 2018031900; // The current plugin version (Date: YYYYMMDDXX).
$plugin->version = 2018031901; // The current plugin version (Date: YYYYMMDDXX).
$plugin->requires = 2017050500; // Requires this Moodle version.
$plugin->component = 'filter_opencast'; // Full name of the plugin.
\ No newline at end of file
$plugin->dependencies = array('tool_opencast' => ANY_VERSION);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment