From: Hypolite Petovan Date: Sat, 20 Oct 2018 13:02:35 +0000 (-0400) Subject: Simplify L10n::t + sprintf instances X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4ffcb77554d70623b2bf27dbbb9b6868a65dd87a;p=friendica.git Simplify L10n::t + sprintf instances --- diff --git a/src/Database/DBStructure.php b/src/Database/DBStructure.php index db775b59c1..50566dc877 100644 --- a/src/Database/DBStructure.php +++ b/src/Database/DBStructure.php @@ -77,10 +77,9 @@ class DBStructure The friendica developers released update %s recently, but when I tried to install it, something went terribly wrong. This needs to be fixed soon and I can't do it alone. Please contact a - friendica developer if you can not help me on your own. My database might be invalid.")); - $body = L10n::t("The error message is\n[pre]%s[/pre]"); - $preamble = sprintf($preamble, $update_id); - $body = sprintf($body, $error_message); + friendica developer if you can not help me on your own. My database might be invalid.", + $update_id)); + $body = L10n::t("The error message is\n[pre]%s[/pre]", $error_message); notification([ 'uid' => $admin['uid'],