X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=include%2Fxorg.inc.php;h=95a7bb9ef08c249728bf0d3b82677b46173cfbd8;hb=883d5bec437ab29a43aefff74f7a871b38de4803;hp=45dccf9f63e59cd96e0002587d0a31d2e572b9b0;hpb=fa36e5264c28077f3f7c6ea30f5edbd323401a72;p=platal.git diff --git a/include/xorg.inc.php b/include/xorg.inc.php index 45dccf9..95a7bb9 100644 --- a/include/xorg.inc.php +++ b/include/xorg.inc.php @@ -100,18 +100,6 @@ function new_admin_table_editor($table, $idfield, $idedit=false) } // }}} -// {{{ function redirect - -function redirect($page) -{ - if (count($_SESSION)) { - session_write_close(); - } - header("Location: $page"); - exit; -} - -// }}} // vim:set et sw=4 sts=4 sws=4 foldmethod=marker: ?>