Remove/replace killme() with *exit()
This commit is contained in:
parent
df386800d3
commit
895b3abf32
75 changed files with 167 additions and 187 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue