Merge branch 'MDL-73637-master' of https://github.com/ilyatregubov/moodle
This commit is contained in:
@@ -4154,7 +4154,9 @@ EOD;
|
||||
public function services_support_link(): string {
|
||||
global $CFG;
|
||||
|
||||
if ((isset($CFG->showservicesandsupportcontent) && $CFG->showservicesandsupportcontent == false) || !is_siteadmin()) {
|
||||
if (during_initial_install() ||
|
||||
(isset($CFG->showservicesandsupportcontent) && $CFG->showservicesandsupportcontent == false) ||
|
||||
!is_siteadmin()) {
|
||||
return '';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user