Merge branch 'MDL-73637-master' of https://github.com/ilyatregubov/moodle

This commit is contained in:
Eloy Lafuente (stronk7) 2022-01-20 23:30:58 +01:00
commit d8b75c3e5e

View file

@ -4154,7 +4154,9 @@ EOD;
public function services_support_link(): string { public function services_support_link(): string {
global $CFG; global $CFG;
if ((isset($CFG->showservicesandsupportcontent) && $CFG->showservicesandsupportcontent == false) || !is_siteadmin()) { if (during_initial_install() ||
(isset($CFG->showservicesandsupportcontent) && $CFG->showservicesandsupportcontent == false) ||
!is_siteadmin()) {
return ''; return '';
} }