mirror of
https://github.com/friendica/friendica
synced 2025-04-22 11:10:11 +00:00
Some more "exit" replaced
This commit is contained in:
parent
4a22034be6
commit
989ac2fda8
7 changed files with 13 additions and 22 deletions
|
@ -88,8 +88,7 @@ class ParseUrl extends BaseModule
|
|||
if ($format == 'json') {
|
||||
System::jsonExit($arr['text']);
|
||||
} else {
|
||||
echo $arr['text'];
|
||||
exit();
|
||||
System::httpExit($arr['text']);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -122,8 +121,7 @@ class ParseUrl extends BaseModule
|
|||
|
||||
System::jsonExit($ret);
|
||||
} else {
|
||||
echo BBCode::embedURL($url, empty($_GET['noAttachment']), $title, $description, $_GET['tags'] ?? '');
|
||||
exit();
|
||||
System::httpExit(BBCode::embedURL($url, empty($_GET['noAttachment']), $title, $description, $_GET['tags'] ?? ''));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue