]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/ParseUrl.php
Changes after review
[friendica.git] / src / Module / ParseUrl.php
index e2d75ee8447fd70e2c561a4c5f5a021d26a78541..7dbc2222051db2a10db0e9a9b175d62e3f7043ce 100644 (file)
@@ -100,9 +100,9 @@ class ParseUrl extends BaseModule
 
                if ($arr['text']) {
                        if ($format == 'json') {
-                               System::jsonExit($arr['text']);
+                               $this->jsonExit($arr['text']);
                        } else {
-                               System::httpExit($arr['text']);
+                               $this->httpExit($arr['text']);
                        }
                }
 
@@ -133,9 +133,9 @@ class ParseUrl extends BaseModule
                                $ret['success'] = true;
                        }
 
-                       System::jsonExit($ret);
+                       $this->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'] ?? ''));
                }
        }
 }