Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
Moodle Filter Opencast
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
elc
Moodle Filter Opencast
Commits
5cf99558
Commit
5cf99558
authored
7 years ago
by
TamaraGunkel
Browse files
Options
Downloads
Patches
Plain Diff
removed unused dependencies
parent
0f646b5f
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
filter.php
+1
-5
1 addition, 5 deletions
filter.php
version.php
+2
-3
2 additions, 3 deletions
version.php
with
3 additions
and
8 deletions
filter.php
+
1
−
5
View file @
5cf99558
...
...
@@ -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
)
{
...
...
This diff is collapsed.
Click to expand it.
version.php
+
2
−
3
View file @
5cf99558
...
...
@@ -25,7 +25,6 @@
defined
(
'MOODLE_INTERNAL'
)
||
die
();
$plugin
->
version
=
201803190
0
;
// The current plugin version (Date: YYYYMMDDXX).
$plugin
->
version
=
201803190
1
;
// 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
);
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment