X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fupdate_notes.php;h=b81c2fbe7d1314b6f840e1b53183c02202601294;hb=2196a0577b29dcec1ba4d2c32be10fa5f0e91034;hp=d27cc4ca9672bfcfe1007b2289bfd9bcb14dc71c;hpb=a7ce601580b07e9b3e7653cbdb0a9b6bbb5c474e;p=friendica.git
diff --git a/mod/update_notes.php b/mod/update_notes.php
index d27cc4ca96..b81c2fbe7d 100644
--- a/mod/update_notes.php
+++ b/mod/update_notes.php
@@ -5,6 +5,9 @@
* Purpose: AJAX synchronisation of notes page
*/
+use Friendica\App;
+use Friendica\Core\PConfig;
+
require_once("mod/notes.php");
function update_notes_content(App $a) {
@@ -32,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);