]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/ParseUrl.php
Move System::httpError to BaseModule->httpError
[friendica.git] / src / Module / ParseUrl.php
index e2d75ee8447fd70e2c561a4c5f5a021d26a78541..dfccafad42695cdeda008b9a7368aa607adc940c 100644 (file)
@@ -102,7 +102,7 @@ class ParseUrl extends BaseModule
                        if ($format == 'json') {
                                System::jsonExit($arr['text']);
                        } else {
-                               System::httpExit($arr['text']);
+                               $this->httpExit($arr['text']);
                        }
                }
 
@@ -135,7 +135,7 @@ class ParseUrl extends BaseModule
 
                        System::jsonExit($ret);
                } else {
-                       System::httpExit(BBCode::embedURL($url, empty($_GET['noAttachment']), $title, $description, $_GET['tags'] ?? ''));
+                       $this->httpExit(BBCode::embedURL($url, empty($_GET['noAttachment']), $title, $description, $_GET['tags'] ?? ''));
                }
        }
 }