Skip to content
Snippets Groups Projects
Unverified Commit 5764cef8 authored by Tobias Reischmann's avatar Tobias Reischmann
Browse files

Switched rendering of login to the presence of baseurl

parent 840b2ba7
No related branches found
No related tags found
No related merge requests found
......@@ -49,7 +49,7 @@ class filter_opencast extends moodle_text_filter {
$baseurl = get_config('tool_opencast', 'apiurl');
}
if (stripos($text, '</video>') === false) {
if (stripos($text, $baseurl) === false) {
// Performance shortcut - if there are no </video> tags, nothing can match.
return $text;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment