X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=boot.php;h=91f62c4b4fb32731e84ecb266414c90bc6e2f0ad;hb=d00ddc01afdef3e626ae0e711e52f830cbdf923a;hp=d55f4b7bc979f23bda425417172f329b50949c1b;hpb=49c7b5481b2001311daa371615a352c433a01c06;p=friendica.git diff --git a/boot.php b/boot.php index d55f4b7bc9..91f62c4b4f 100644 --- a/boot.php +++ b/boot.php @@ -598,21 +598,6 @@ function killme() exit(); } -/** - * @brief Redirect to another URL and terminate this process. - */ -function goaway($path = '') -{ - if (strstr(normalise_link($path), 'http://')) { - $url = $path; - } else { - $url = System::baseUrl() . '/' . ltrim($path, '/'); - } - - header("Location: $url"); - killme(); -} - /** * @brief Returns the user id of locally logged in user or false. *