From: Hypolite Petovan Date: Wed, 10 Mar 2021 17:20:02 +0000 (-0500) Subject: Remove admin condition to display the maintenance reason X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4489d14b06a2b55f59ef78d1497ca45e3b0bedcc;p=friendica.git Remove admin condition to display the maintenance reason --- 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' => '', ]);