]> git.mxchange.org Git - mailer.git/blobdiff - inc/functions.php
Next batch of fixed language ids (renamed, see ticket #219)
[mailer.git] / inc / functions.php
index 4e1579b587836adbddf46bb27cda9bff22311569..90f2b6d378b37e83312dd7bfb9c70e7e7a4fe79f 100644 (file)
@@ -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 {