X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fupdate_display.php;h=9dd3edf282d1f12413a980a235195839e2797afd;hb=a5e91175243a41c77a56e73efc3672f20a7e6d23;hp=86f4db8259f83c4db9fdd580666c91da42060c16;hpb=291906de5f3074407253241e5ccbb5af633e0c22;p=friendica.git
diff --git a/mod/update_display.php b/mod/update_display.php
index 86f4db8259..9dd3edf282 100644
--- a/mod/update_display.php
+++ b/mod/update_display.php
@@ -2,6 +2,9 @@
// See update_profile.php for documentation
+use Friendica\App;
+use Friendica\Core\PConfig;
+
require_once("mod/display.php");
require_once("include/group.php");
@@ -19,7 +22,7 @@ function update_display_content(App $a) {
$replace = "
".t("[Embedded content - reload page to view]")."
";
$pattern = "/<\s*audio[^>]*>(.*?)<\s*\/\s*audio>/i";
$text = preg_replace($pattern, $replace, $text);