Revision adb94488
Von Sven Schöling vor mehr als 12 Jahren hinzugefügt
bin/mozilla/ct.pl | ||
---|---|---|
743 | 743 |
my $contact = SL::DB::Manager::Contact->find_by(cp_id => $::form->{cp_id}); |
744 | 744 |
|
745 | 745 |
if ($contact->used) { |
746 |
$contact->detach; |
|
746 |
$contact->detach->save;
|
|
747 | 747 |
flash('info', $::locale->text('Contact is in use and was flagged invalid.')); |
748 | 748 |
} else { |
749 | 749 |
$contact->delete; |
Auch abrufbar als: Unified diff
SL::DB::Contact->detach nicht automatisch speichern lassen