Remove redirectref(), this function isn't used
This commit is contained in:
@@ -173,17 +173,6 @@ function redirect($url)
|
|||||||
exit;
|
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
|
* format a date as required for HTTP by RFC 2068 sec 3.3.1
|
||||||
|
|||||||
Reference in New Issue
Block a user