X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Ffunctions.php;h=90f2b6d378b37e83312dd7bfb9c70e7e7a4fe79f;hb=47854fbceaa56f85d7acf094d71301bd78afa3d2;hp=4e1579b587836adbddf46bb27cda9bff22311569;hpb=a5c2e88de7f58e9a0d25843cda96f30e9d8232ff;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 {