MDL-85704 mod_bigbluebuttonbn: Update sesskey handling for compatibility
This commit is contained in:
@@ -68,8 +68,6 @@ $context = $instance->get_context();
|
||||
|
||||
require_login($course, true, $cm);
|
||||
|
||||
require_sesskey();
|
||||
|
||||
// Note : this uses the group optional_param as a value to decide which groupid.
|
||||
$groupid = groups_get_activity_group($cm, true) ?: null;
|
||||
if ($groupid) {
|
||||
|
||||
@@ -1035,7 +1035,6 @@ EOF;
|
||||
'action' => 'logout',
|
||||
'id' => $this->cm->id,
|
||||
'courseid' => $this->cm->course, // Used to find the course if ever the activity is deleted
|
||||
'sesskey' => sesskey(),
|
||||
// while the meeting is running.
|
||||
]);
|
||||
}
|
||||
@@ -1074,7 +1073,6 @@ EOF;
|
||||
'action' => 'join',
|
||||
'id' => $this->cm->id,
|
||||
'bn' => $this->instancedata->id,
|
||||
'sesskey' => sesskey(),
|
||||
]);
|
||||
}
|
||||
|
||||
|
||||
@@ -577,7 +577,6 @@ class recording extends persistent {
|
||||
'bn' => $this->raw_get('bigbluebuttonbnid'),
|
||||
'rid' => $this->get('id'),
|
||||
'rtype' => $clone['type'],
|
||||
'sesskey' => sesskey(),
|
||||
]);
|
||||
|
||||
return $clone;
|
||||
|
||||
@@ -530,7 +530,6 @@ function mod_bigbluebuttonbn_core_calendar_provide_event_action(
|
||||
'id' => $cm->id,
|
||||
'bn' => $bigbluebuttonbn->id,
|
||||
'timeline' => 1,
|
||||
'sesskey' => sesskey(),
|
||||
]
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user