]> git.mxchange.org Git - friendica.git/blobdiff - mod/cal.php
Remove/replace killme() with *exit()
[friendica.git] / mod / cal.php
index 526e33c00cd796b09a29591192b33db7a317346f..3d90ff03bf85cccd51af1925396a8209e8f1422d 100644 (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;