Changeset 2149
- Timestamp:
- 11/12/18 14:42:58 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LATMOS-Accounts/lib/LATMOS/Accounts/Bases/Sql.pm
r2121 r2149 789 789 790 790 $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) ; 795 795 return 1; 796 796 }
Note: See TracChangeset
for help on using the changeset viewer.