Remove admin condition to display the maintenance reason
This commit is contained in:
parent
d30055070e
commit
4489d14b06
1 changed files with 1 additions and 1 deletions
|
@ -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' => '',
|
||||||
]);
|
]);
|
||||||
|
|
Loading…
Reference in a new issue