X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fupdate_display.php;h=b8f3d8f498e64503c4df7f7eba65f12e459f2253;hb=589b7e718da0a1eb5f9f6e86e091307c399e0df6;hp=569c76ab31f0433a43645cec12c73ccb2e079a92;hpb=8536b313a1eb1c3e11f9ba5317fdcef33118bcb8;p=friendica.git
diff --git a/mod/update_display.php b/mod/update_display.php
index 569c76ab31..b8f3d8f498 100644
--- a/mod/update_display.php
+++ b/mod/update_display.php
@@ -5,7 +5,6 @@
*/
use Friendica\App;
-use Friendica\Core\L10n;
use Friendica\DI;
require_once "mod/display.php";
@@ -21,7 +20,7 @@ function update_display_content(App $a)
$text = display_content($a, true, $profile_uid);
if (DI::pConfig()->get(local_user(), "system", "bandwidth_saver")) {
- $replace = "
" . L10n::t("[Embedded content - reload page to view]") . "
";
+ $replace = "
" . DI::l10n()->t("[Embedded content - reload page to view]") . "
";
$pattern = "/<\s*audio[^>]*>(.*?)<\s*\/\s*audio>/i";
$text = preg_replace($pattern, $replace, $text);
$pattern = "/<\s*video[^>]*>(.*?)<\s*\/\s*video>/i";