]> git.mxchange.org Git - friendica.git/blobdiff - mod/update_community.php
Move L10n::getPokeVerbs() calls to DI::l10n()->getPokeVerbs() calls
[friendica.git] / mod / update_community.php
index 2f23bb7deb97f7374d438611393bdbb64f96db4e..4f1cd263b8e769bf69ba62125f99891d24397d89 100644 (file)
@@ -20,7 +20,7 @@ function update_community_content(App $a) {
        }
 
        if (DI::pConfig()->get(local_user(), "system", "bandwidth_saver")) {
-               $replace = "<br />".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";