Changeset 2149


Ignore:
Timestamp:
11/12/18 14:42:58 (5 years ago)
Author:
nanardon
Message:

Don't check return value (can be 0)

File:
1 edited

Legend:

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

    r2121 r2149  
    789789 
    790790    $self->log(LA_NOTICE, "Exchanging IP between %s and %s", $obj1->id, $obj2->id); 
    791     $obj1->delAttributeValue('ip', $ip1) or return; 
    792     $obj2->delAttributeValue('ip', $ip2) or return; 
    793     $obj1->addAttributeValue('ip', $ip2) or return; 
    794     $obj2->addAttributeValue('ip', $ip1) or return; 
     791    $obj1->delAttributeValue('ip', $ip1) ; 
     792    $obj2->delAttributeValue('ip', $ip2) ; 
     793    $obj1->addAttributeValue('ip', $ip2) ; 
     794    $obj2->addAttributeValue('ip', $ip1) ; 
    795795    return 1; 
    796796} 
Note: See TracChangeset for help on using the changeset viewer.