From e9b513d561f6b61c9db0837c3d7dfbc877dc4f09 Mon Sep 17 00:00:00 2001 From: "Shamiso.Jaravaza" <33659194+ssj365@users.noreply.github.com> Date: Tue, 31 Oct 2023 16:44:33 -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 c8c5da538f6..8b2c8f37542 100644 --- a/mod/bigbluebuttonbn/classes/instance.php +++ b/mod/bigbluebuttonbn/classes/instance.php @@ -779,8 +779,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');