Skip to content

Commit

Permalink
ILMS-695 fix error when accessing course completion
Browse files Browse the repository at this point in the history
  • Loading branch information
roileviK committed Jul 31, 2024
1 parent 9f644ed commit 5d7bbde
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions mod/kalvidres/mod_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@ class mod_kalvidres_mod_form extends moodleform_mod {
public function definition() {
global $CFG, $COURSE, $PAGE;

$pageclass = 'kaltura-kalvidres-body';
$PAGE->add_body_class($pageclass);

$params = array(
'withblocks' => 0,
'courseid' => $COURSE->id,
Expand All @@ -63,14 +60,6 @@ public function definition() {
$PAGE->requires->string_for_js('replace_video', 'kalvidres');
$PAGE->requires->string_for_js('browse_and_embed', 'local_kaltura');

// Require a YUI module to make the object tag be as large as possible.
$params = array(
'bodyclass' => $pageclass,
'lastheight' => null,
'padding' => 15
);
$PAGE->requires->yui_module('moodle-local_kaltura-lticontainer', 'M.local_kaltura.init', array($params), null, true);

$mform =& $this->_form;

// This line is needed to avoid a PHP warning when the form is submitted.
Expand Down

0 comments on commit 5d7bbde

Please sign in to comment.