Merge branch 'MDL-78619' of https://github.com/paulholden/moodle
This commit is contained in:
@@ -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']);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user