This commit is contained in:
Huong Nguyen
2023-09-08 22:14:34 +08:00
committed by Jun Pataleta
2 changed files with 6 additions and 1 deletions
+1
View File
@@ -1826,6 +1826,7 @@ class core_plugin_manager {
),
'communication' => [
'customlink',
'matrix',
],
+5 -1
View File
@@ -29,7 +29,11 @@ use moodle_url;
*/
class communication extends base {
public static function get_manage_url(): moodle_url {
public static function get_manage_url(): ?moodle_url {
if (!\core_communication\api::is_available()) {
return null;
}
return new moodle_url('/admin/settings.php', ['section' => 'managecommunicationproviders']);
}