X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fupdate_community.php;h=e15520320ea85944353a5c1647f761bcefb2ac14;hb=4a47425bfd64f5ba04139899880fce21ddcc0623;hp=d5f2b4cb21d18f87c723788be13069fc3eb7879d;hpb=c845415a99ebc348103815a7b2c55b15c75cdd24;p=friendica.git diff --git a/mod/update_community.php b/mod/update_community.php index d5f2b4cb21..e15520320e 100644 --- a/mod/update_community.php +++ b/mod/update_community.php @@ -19,11 +19,7 @@ function update_community_content(App $a) { $text = ''; } - $pattern = "/]*) src=\"([^\"]*)\"/"; - $replace = ""; $pattern = "/<\s*audio[^>]*>(.*?)<\s*\/\s*audio>/i"; $text = preg_replace($pattern, $replace, $text); @@ -38,5 +34,5 @@ function update_community_content(App $a) { echo str_replace("\t", " ", $text); echo ""; echo "\r\n"; - killme(); + exit(); }