]> git.mxchange.org Git - friendica.git/blobdiff - mod/update_notes.php
Remove/replace killme() with *exit()
[friendica.git] / mod / update_notes.php
index 892e71d782bcc43f437dfd46ca56625f494c1457..10f60c1ef17472b2ad42c01cc3578d8931e9aef1 100644 (file)
@@ -32,10 +32,6 @@ function update_notes_content(App $a) {
 
        $text = notes_content($a, $profile_uid);
 
-       $pattern = "/<img([^>]*) src=\"([^\"]*)\"/";
-       $replace = "<img\${1} dst=\"\${2}\"";
-       $text = preg_replace($pattern, $replace, $text);
-
        if (PConfig::get(local_user(), "system", "bandwidth_saver")) {
                $replace = "<br />".L10n::t("[Embedded content - reload page to view]")."<br />";
                $pattern = "/<\s*audio[^>]*>(.*?)<\s*\/\s*audio>/i";
@@ -52,5 +48,5 @@ function update_notes_content(App $a) {
        echo str_replace("\t", "       ", $text);
        echo "</section>";
        echo "</body></html>\r\n";
-       killme();
+       exit();
 }
\ No newline at end of file