X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fupdate_profile.php;h=f293088a962c1896a10e26cf5844408fbf0d37d0;hb=3359f3f5c7ecc4b6a34c4fcfc095ab4dd5fab0f1;hp=e16b0b5cccbe58126ca678c126aaefeba60ce7f7;hpb=4f25396faeaa501907e93b24ee51ebdd08f84993;p=friendica.git diff --git a/mod/update_profile.php b/mod/update_profile.php index e16b0b5ccc..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(App &$a) { +function update_profile_content(App $a) { $profile_uid = intval($_GET["p"]); @@ -31,7 +34,7 @@ function update_profile_content(App &$a) { $replace = ""; $pattern = "/<\s*audio[^>]*>(.*?)<\s*\/\s*audio>/i"; $text = preg_replace($pattern, $replace, $text);