Changeset 1941 for trunk/LATMOS-Accounts/lib
- Timestamp:
- 01/30/17 19:52:23 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LATMOS-Accounts/lib/LATMOS/Accounts/Bases/Sql/User.pm
r1935 r1941 1465 1465 $old = $self->_get_attributes('department'); 1466 1466 } 1467 1467 1468 if (($data{department} || '') eq ($old || '')) { 1468 1469 # We do not remove the group, there is no change 1469 1470 $old = undef; 1471 } 1472 1473 if ($old) { 1474 # If the department is no longer a department 1475 # we do nothing 1476 my @names = $self->base->search_objects('group', 'name=' . $old, 'sutype=dpmt'); 1477 if (! @names) { 1478 $old = undef; 1479 } 1470 1480 } 1471 1481
Note: See TracChangeset
for help on using the changeset viewer.