From 7fd20bbbd38d2e74a940ccb174e8205090cf0354 Mon Sep 17 00:00:00 2001 From: "Shamiso.Jaravaza" <33659194+ssj365@users.noreply.github.com> Date: Tue, 31 Oct 2023 16:36:55 -0600 Subject: [PATCH] MDL-79956 mod_bigbluebuttonbn: fix import links --- mod/bigbluebuttonbn/classes/instance.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mod/bigbluebuttonbn/classes/instance.php b/mod/bigbluebuttonbn/classes/instance.php index 359d1c9412e..18381d3225b 100644 --- a/mod/bigbluebuttonbn/classes/instance.php +++ b/mod/bigbluebuttonbn/classes/instance.php @@ -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');