mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
Merge branch 'MDL-73637-master' of https://github.com/ilyatregubov/moodle
This commit is contained in:
commit
d8b75c3e5e
1 changed files with 3 additions and 1 deletions
|
@ -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 '';
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue