1
1
Fork 0

Remove/replace killme() with *exit()

This commit is contained in:
Hypolite Petovan 2018-12-26 00:40:12 -05:00
commit 895b3abf32
75 changed files with 167 additions and 187 deletions

View file

@ -244,7 +244,7 @@ function cal_content(App $a)
if (!empty($a->argv[2]) && ($a->argv[2] === 'json')) {
echo json_encode($events);
killme();
exit();
}
// links: array('href', 'text', 'extra css classes', 'title')
@ -286,7 +286,7 @@ function cal_content(App $a)
if (!empty($_GET['id'])) {
echo $o;
killme();
exit();
}
return $o;
@ -331,7 +331,7 @@ function cal_content(App $a)
header('Content-type: text/calendar');
header('content-disposition: attachment; filename="' . L10n::t('calendar') . '-' . $nick . '.' . $evexport["extension"] . '"');
echo $evexport["content"];
killme();
exit();
}
return;