]> git.mxchange.org Git - friendica.git/blobdiff - mod/events.php
Remove/replace killme() with *exit()
[friendica.git] / mod / events.php
index a54260c435ef95ca3f73413c1184ab80a0861835..60fa0392213be1ccfc15b83d364876a882f8aec8 100644 (file)
@@ -117,7 +117,7 @@ function events_post(App $a)
                notice(L10n::t('Event can not end before it has started.') . EOL);
                if (intval($_REQUEST['preview'])) {
                        echo L10n::t('Event can not end before it has started.');
-                       killme();
+                       exit();
                }
                $a->internalRedirect($onerror_path);
        }
@@ -126,7 +126,7 @@ function events_post(App $a)
                notice(L10n::t('Event title and start time are required.') . EOL);
                if (intval($_REQUEST['preview'])) {
                        echo L10n::t('Event title and start time are required.');
-                       killme();
+                       exit();
                }
                $a->internalRedirect($onerror_path);
        }
@@ -414,7 +414,7 @@ function events_content(App $a)
 
                if (!empty($_GET['id'])) {
                        echo $o;
-                       killme();
+                       exit();
                }
 
                return $o;