follow up to #9281: declared t3lib_div::redirect() static
authorIngo Renner <ingo.renner@typo3.org>
Wed, 3 Sep 2008 18:04:15 +0000 (18:04 +0000)
committerIngo Renner <ingo.renner@typo3.org>
Wed, 3 Sep 2008 18:04:15 +0000 (18:04 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@4056 709f56b5-9817-0410-a4d7-c38de5d9e867

t3lib/class.t3lib_div.php

index bc3407c..933a926 100755 (executable)
@@ -3326,7 +3326,7 @@ final class t3lib_div {
         * @param       string  The target URL to redirect to
         * @param       string  An optional HTTP status header. Default is 'HTTP/1.1 303 See Other'
         */
-       public function redirect($url, $httpStatus = 'HTTP/1.1 303 See Other') {
+       public static function redirect($url, $httpStatus = 'HTTP/1.1 303 See Other') {
                header($httpStatus);
                header('Location: ' . t3lib_div::locationHeaderUrl($url));