From: x2000habouzit Date: Tue, 12 Sep 2006 22:31:39 +0000 (+0000) Subject: free is already done by the fetch*ONE*row X-Git-Tag: xorg/0.9.10 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=f3f893f3376decff9a191407dc9e79e6f46a5b8b;p=platal.git free is already done by the fetch*ONE*row git-svn-id: svn+ssh://murphy/home/svn/platal/branches/platal-0.9.10@836 839d8a87-29fc-0310-9880-83ba4fa771e5 --- diff --git a/include/register.inc.php b/include/register.inc.php index a05f8f5..21de238 100644 --- a/include/register.inc.php +++ b/include/register.inc.php @@ -190,7 +190,6 @@ function create_aliases (&$sub) if ( $res->numRows() ) { list($h_id, $h_type, $expire) = $res->fetchOneRow(); - $res->free(); if ( $h_type != 'homonyme' and empty($expire) ) { $globals->xdb->execute('UPDATE aliases SET expire=ADDDATE(NOW(),INTERVAL 1 MONTH) WHERE alias={?}', $mailorg);