Revision 36e45d3d
Von Tamino Steinert vor mehr als 1 Jahr hinzugefügt
SL/Controller/EmailJournal.pm | ||
---|---|---|
9 | 9 |
use SL::DB::EmailJournal; |
10 | 10 |
use SL::DB::EmailJournalAttachment; |
11 | 11 |
use SL::DB::Order; |
12 |
use SL::DB::Helper::HardRecordLinks; |
|
13 | 12 |
use SL::Helper::Flash; |
14 | 13 |
use SL::Locale::String; |
15 | 14 |
use SL::System::TaskServer; |
... | ... | |
190 | 189 |
my $attachment = $params{attachment}; |
191 | 190 |
my $record = $params{record}; |
192 | 191 |
|
193 |
# soft link |
|
194 | 192 |
$email_journal->link_to_record($record); |
195 |
|
|
196 |
# hard link |
|
197 |
SL::DB::Helper::HardRecordLinks->create_link($record, $email_journal); |
|
193 |
$email_journal->hard_link_to_record($record); |
|
198 | 194 |
|
199 | 195 |
if ($attachment) { |
200 | 196 |
$attachment->add_file_to_record($record); |
Auch abrufbar als: Unified diff
SL::DB::Helper::HardLinkedRecords: Nutzung wie LinkedRecords