Merge branch 'MDL-79956-master' of https://github.com/ssj365/moodle

This commit is contained in:
Sara Arjona
2023-11-15 13:31:38 +01:00
+2 -2
View File
@@ -869,8 +869,8 @@ EOF;
if (!config::get('importrecordings_enabled')) {
return false;
}
if ($this->can_manage_recordings()) {
return true;
if (!$this->can_manage_recordings()) {
return false;
}
return $this->is_feature_enabled('importrecordings');