X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fupdate_profile.php;h=bc6e511896f5935e137a5f57c32110988eec1a17;hb=41663c7592abe55a958632c3a48265e0a8544d2b;hp=4d1f158b39dd9f12871e1e8c5546a286cfc65601;hpb=c845415a99ebc348103815a7b2c55b15c75cdd24;p=friendica.git diff --git a/mod/update_profile.php b/mod/update_profile.php index 4d1f158b39..bc6e511896 100644 --- a/mod/update_profile.php +++ b/mod/update_profile.php @@ -31,11 +31,7 @@ function update_profile_content(App $a) { $text = profile_content($a, $profile_uid); - $pattern = "/]*) src=\"([^\"]*)\"/"; - $replace = ""; $pattern = "/<\s*audio[^>]*>(.*?)<\s*\/\s*audio>/i"; $text = preg_replace($pattern, $replace, $text); @@ -51,5 +47,5 @@ function update_profile_content(App $a) { echo str_replace("\t", " ", $text); echo ""; echo "\r\n"; - killme(); + exit(); } \ No newline at end of file