X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Ffunctions.php;h=90f2b6d378b37e83312dd7bfb9c70e7e7a4fe79f;hb=fc913f79acb00d7b330c9275bdb98dadd8378963;hp=4e1579b587836adbddf46bb27cda9bff22311569;hpb=b822c9bb96f24c045e2d5553415f5e20e008402b;p=mailer.git diff --git a/inc/functions.php b/inc/functions.php index 4e1579b587..90f2b6d378 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -564,15 +564,6 @@ function redirectToUrl ($url, $allowSpider = true) { // We should not sent a redirect if headers are already sent if (!headers_sent()) { - // Clear output buffer - clearOutputBuffer(); - - // Clear own output buffer - $GLOBALS['output'] = ''; - - // To make redirects working (no content type), output mode must be raw - setOutputMode(-1); - // Load URL when headers are not sent sendRawRedirect(doFinalCompilation(str_replace('&', '&', $url), false)); } else {