mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 12:40:01 +01:00
Merge branch 'MDL-78619' of https://github.com/paulholden/moodle
This commit is contained in:
commit
cb5c8b59bf
@ -1826,6 +1826,7 @@ class core_plugin_manager {
|
||||
),
|
||||
|
||||
'communication' => [
|
||||
'customlink',
|
||||
'matrix',
|
||||
],
|
||||
|
||||
|
@ -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']);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user