]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Maintenance.php
Move HTML purification to own method in Content\Text\HTML
[friendica.git] / src / Module / Maintenance.php
index 36deee83d339c783f3f95262b2190304eac1527c..7fc32b5217d9f1f3a3afbffd61835f16eafc86f0 100644 (file)
@@ -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' => '',
                ]);