1
0
Fork 0

Remove admin condition to display the maintenance reason

This commit is contained in:
Hypolite Petovan 2021-03-10 12:20:02 -05:00 committed by GitHub
parent d30055070e
commit 4489d14b06
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -52,7 +52,7 @@ class Maintenance extends BaseModule
return Renderer::replaceMacros($tpl, [ return Renderer::replaceMacros($tpl, [
'$title' => DI::l10n()->t('System down for maintenance'), '$title' => DI::l10n()->t('System down for maintenance'),
'$message' => DI::l10n()->t('This Friendica node is currently in maintenance mode, either automatically because it is self-updating or manually by the node administrator. This condition should be temporary, please come back in a few minutes.'), '$message' => DI::l10n()->t('This Friendica node is currently in maintenance mode, either automatically because it is self-updating or manually by the node administrator. This condition should be temporary, please come back in a few minutes.'),
'$thrown' => is_site_admin() ? $reason : '', '$thrown' => $reason,
'$stack_trace' => '', '$stack_trace' => '',
'$trace' => '', '$trace' => '',
]); ]);