]> git.mxchange.org Git - friendica.git/blobdiff - mod/search.php
Remove/replace killme() with *exit()
[friendica.git] / mod / search.php
index 2cdfd6e12826cdbb81e39e0b1871a77d0942ffd0..3864f148822e280224be8c8baa1b84c0b9318753 100644 (file)
@@ -102,7 +102,7 @@ function search_content(App $a) {
                System::httpExit(403,
                                ["title" => L10n::t("Public access denied."),
                                        "description" => L10n::t("Only logged in users are permitted to perform a search.")]);
-               killme();
+               exit();
                //notice(L10n::t('Public access denied.').EOL);
                //return;
        }
@@ -127,7 +127,7 @@ function search_content(App $a) {
                                System::httpExit(429,
                                                ["title" => L10n::t("Too Many Requests"),
                                                        "description" => L10n::t("Only one search per minute is permitted for not logged in users.")]);
-                               killme();
+                               exit();
                        }
                        Cache::set("remote_search:".$remote, json_encode(["time" => time(), "accesses" => $resultdata->accesses + 1]), Cache::HOUR);
                } else