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^0 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=166a01a0f0607e00d6f2180d6a5ea487139500d8;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);