X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fupdate_profile.php;h=f293088a962c1896a10e26cf5844408fbf0d37d0;hb=93ca0d79fe3f68e2b9942b1c251475065add2f81;hp=1bc29d82cef3f3ad4c11d82f20fe61a08d895ef0;hpb=967ecb42053dd5bd2b7d66435641ae865c54066b;p=friendica.git
diff --git a/mod/update_profile.php b/mod/update_profile.php
index 1bc29d82ce..f293088a96 100644
--- a/mod/update_profile.php
+++ b/mod/update_profile.php
@@ -5,9 +5,12 @@
* Purpose: AJAX synchronisation of profile page
*/
+use Friendica\App;
+use Friendica\Core\PConfig;
+
require_once("mod/profile.php");
-function update_profile_content(&$a) {
+function update_profile_content(App $a) {
$profile_uid = intval($_GET["p"]);
@@ -31,7 +34,7 @@ function update_profile_content(&$a) {
$replace = "".t("[Embedded content - reload page to view]")."
";
$pattern = "/<\s*audio[^>]*>(.*?)<\s*\/\s*audio>/i";
$text = preg_replace($pattern, $replace, $text);