From 4489d14b06a2b55f59ef78d1497ca45e3b0bedcc Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Wed, 10 Mar 2021 12:20:02 -0500 Subject: [PATCH] Remove admin condition to display the maintenance reason --- src/Module/Maintenance.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Module/Maintenance.php b/src/Module/Maintenance.php index 36deee83d3..7fc32b5217 100644 --- a/src/Module/Maintenance.php +++ b/src/Module/Maintenance.php @@ -52,7 +52,7 @@ class Maintenance extends BaseModule return Renderer::replaceMacros($tpl, [ '$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.'), - '$thrown' => is_site_admin() ? $reason : '', + '$thrown' => $reason, '$stack_trace' => '', '$trace' => '', ]); -- 2.20.1