X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fupdate_notes.php;h=b81c2fbe7d1314b6f840e1b53183c02202601294;hb=a5e91175243a41c77a56e73efc3672f20a7e6d23;hp=d27cc4ca9672bfcfe1007b2289bfd9bcb14dc71c;hpb=291906de5f3074407253241e5ccbb5af633e0c22;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 = ""; $pattern = "/<\s*audio[^>]*>(.*?)<\s*\/\s*audio>/i"; $text = preg_replace($pattern, $replace, $text);