X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=mod%2Fupdate_notes.php;h=b81c2fbe7d1314b6f840e1b53183c02202601294;hb=1b74650807279279836a0544f607166111d86050;hp=9fc886155159b318355ed8e780fbf4a613d080a8;hpb=7a9456d5ac2e73229b2237074c700731c63661a6;p=friendica.git
diff --git a/mod/update_notes.php b/mod/update_notes.php
index 9fc8861551..b81c2fbe7d 100644
--- a/mod/update_notes.php
+++ b/mod/update_notes.php
@@ -6,6 +6,7 @@
*/
use Friendica\App;
+use Friendica\Core\PConfig;
require_once("mod/notes.php");
@@ -34,7 +35,7 @@ function update_notes_content(App $a) {
$replace = "".t("[Embedded content - reload page to view]")."
";
$pattern = "/<\s*audio[^>]*>(.*?)<\s*\/\s*audio>/i";
$text = preg_replace($pattern, $replace, $text);