Ignore:
Timestamp:
08/18/09 04:35:54 (15 years ago)
Author:
nanardon
Message:
  • avoid statement still active warning
File:
1 edited

Legend:

Unmodified
Added
Removed
  • LATMOS-Accounts/lib/LATMOS/Accounts/Bases/Sql/Aliases.pm

    r370 r371  
    6767    $sth->execute($id); 
    6868    my $res = $sth->fetchrow_hashref; 
     69    $sth->finish; 
    6970    if ($res) { 
    7071        $base->log(LA_ERR, "Aliases %s already exists as %s", 
     
    9091                next; 
    9192            } else { 
    92                 return $next; 
     93                last; 
    9394            } 
    9495        } 
     96        $sth->finish; 
     97        return $next; 
    9598    } 
    9699    if ($field =~ /^(parents|anyparents|sameforward|samedestination)$/) { 
Note: See TracChangeset for help on using the changeset viewer.