From da53f65cde2d5e886b1a12c51b00560271374fd5 Mon Sep 17 00:00:00 2001 From: Jonathan Ernst Date: Fri, 30 Jun 2006 16:10:16 +0000 Subject: [PATCH] Remove redirectref(), this function isn't used --- include/incl.php | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/include/incl.php b/include/incl.php index 85a229e..e07ee37 100644 --- a/include/incl.php +++ b/include/incl.php @@ -173,17 +173,6 @@ function redirect($url) exit; } -/** - * redirect back to referrer, or else to the main page - */ -function redirectref($url = null) -{ - if(!$url) - $url = $_SERVER['HTTP_REFERER']; - if(!$url) - $url = apidb_fullurl(); - redirect($url); -} /** * format a date as required for HTTP by RFC 2068 sec 3.3.1