ChangeSet ID: 26133 CVSROOT: /opt/cvs-commit Module name: appdb Changes by: wineowner@winehq.org 2006/06/30 11:10:17
Modified files: include : incl.php
Log message: Jonathan Ernst jonathan@ernstfamily.ch Remove redirectref(), this function isn't used
Patch: http://cvs.winehq.org/patch.py?id=26133
Old revision New revision Changes Path 1.30 1.31 +0 -11 appdb/include/incl.php
Index: appdb/include/incl.php diff -u -p appdb/include/incl.php:1.30 appdb/include/incl.php:1.31 --- appdb/include/incl.php:1.30 30 Jun 2006 16:10:17 -0000 +++ appdb/include/incl.php 30 Jun 2006 16:10:17 -0000 @@ -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