From 6cf6cbb44f463dd5b2751f43b6ff4c0f6f8e1381 Mon Sep 17 00:00:00 2001 From: Ingo Renner Date: Wed, 3 Sep 2008 18:04:15 +0000 Subject: [PATCH] follow up to #9281: declared t3lib_div::redirect() static git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@4056 709f56b5-9817-0410-a4d7-c38de5d9e867 --- t3lib/class.t3lib_div.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t3lib/class.t3lib_div.php b/t3lib/class.t3lib_div.php index bc3407c..933a926 100755 --- a/t3lib/class.t3lib_div.php +++ b/t3lib/class.t3lib_div.php @@ -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)); -- 2.1.4