mirror of
https://github.com/friendica/friendica
synced 2025-04-19 07:10:11 +00:00
Remove/replace killme() with *exit()
This commit is contained in:
parent
df386800d3
commit
895b3abf32
75 changed files with 167 additions and 187 deletions
|
@ -25,14 +25,14 @@ class Oembed extends BaseModule
|
|||
if ($a->argv[1] == 'b2h') {
|
||||
$url = ["", trim(hex2bin($_REQUEST['url']))];
|
||||
echo Content\OEmbed::replaceCallback($url);
|
||||
killme();
|
||||
exit();
|
||||
}
|
||||
|
||||
// Unused form: /oembed/h2b?text=...
|
||||
if ($a->argv[1] == 'h2b') {
|
||||
$text = trim(hex2bin($_REQUEST['text']));
|
||||
echo Content\OEmbed::HTML2BBCode($text);
|
||||
killme();
|
||||
exit();
|
||||
}
|
||||
|
||||
if ($a->argc == 2) {
|
||||
|
@ -49,6 +49,6 @@ class Oembed extends BaseModule
|
|||
echo $j->html;
|
||||
echo '</body></html>';
|
||||
}
|
||||
killme();
|
||||
exit();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue