Merge branch 'MDL-74782-master' of https://github.com/ssj365/moodle
This commit is contained in:
@@ -766,6 +766,18 @@ EOF;
|
||||
return $this->is_feature_enabled('importrecordings');
|
||||
}
|
||||
|
||||
/**
|
||||
* Get recordings_imported from instancedata.
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function get_recordings_imported(): bool {
|
||||
if (config::get('recordings_imported_editable')) {
|
||||
return (bool) $this->get_instance_var('recordings_imported');
|
||||
}
|
||||
return config::get('recordings_imported_default');
|
||||
}
|
||||
|
||||
/**
|
||||
* Whether this instance is recorded from the start.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user