Remove redirectref(), this function isn't used

This commit is contained in:
Jonathan Ernst
2006-06-30 16:10:16 +00:00
committed by WineHQ
parent 5e1cb3f8a9
commit da53f65cde

View File

@@ -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