]> git.mxchange.org Git - friendica.git/blobdiff - mod/update_community.php
Merge pull request #8141 from annando/brief2
[friendica.git] / mod / update_community.php
index 4f1cd263b8e769bf69ba62125f99891d24397d89..c861b750ecdc97b124f7322c465867a244bf0405 100644 (file)
@@ -3,7 +3,6 @@
 // See update_profile.php for documentation
 
 use Friendica\App;
-use Friendica\Core\L10n;
 use Friendica\DI;
 
 require_once 'mod/community.php';
@@ -20,7 +19,7 @@ function update_community_content(App $a) {
        }
 
        if (DI::pConfig()->get(local_user(), "system", "bandwidth_saver")) {
-               $replace = "<br />".DI::l10n()->t("[Embedded content - reload page to view]")."<br />";
+               $replace = "<br />" . DI::l10n()->t("[Embedded content - reload page to view]") . "<br />";
                $pattern = "/<\s*audio[^>]*>(.*?)<\s*\/\s*audio>/i";
                $text = preg_replace($pattern, $replace, $text);
                $pattern = "/<\s*video[^>]*>(.*?)<\s*\/\s*video>/i";