From: x2003bruneau Date: Sun, 9 Jul 2006 07:44:35 +0000 (+0000) Subject: Change redirect function name because it conflicts with platal X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=41b90d004ed1318874109853da336fcdc51490b8;p=banana.git Change redirect function name because it conflicts with platal git-svn-id: svn+ssh://murphy/home/svn/banana/trunk@65 9869982d-c50d-0410-be91-f2a2ec7c7c7b --- diff --git a/banana/banana.inc.php.in b/banana/banana.inc.php.in index 6d55cdd..eb08f9f 100644 --- a/banana/banana.inc.php.in +++ b/banana/banana.inc.php.in @@ -294,7 +294,7 @@ class Banana if ($this->nntp->post($msg)) { $this->spool->delid($id); $this->nntp->quit(); - redirect(Array('group' => $group, + redirectInBanana(Array('group' => $group, 'first' => $id)); } else { return '

'._b_('Impossible d\'annuler le message').'

'; @@ -430,7 +430,7 @@ class Banana if ($artid != -1) { $dir['first'] = $artid; } - redirect($dir); + redirectInBanana($dir); } else { return "

"._b_('Impossible de poster le message')."

".$this->action_showThread($group, $artid); } diff --git a/banana/misc.inc.php b/banana/misc.inc.php index ece2883..fb55a9f 100644 --- a/banana/misc.inc.php +++ b/banana/misc.inc.php @@ -33,7 +33,7 @@ function textFormat_translate($format) /** Redirect to the page with the given parameter * @ref makeLink */ -function redirect($params) +function redirectInBanana($params) { header('Location: ' . makeLink($params)); }