Revision 36e45d3d
Von Tamino Steinert vor mehr als 1 Jahr hinzugefügt
| SL/Controller/EmailJournal.pm | ||
|---|---|---|
|
use SL::DB::EmailJournal;
|
||
|
use SL::DB::EmailJournalAttachment;
|
||
|
use SL::DB::Order;
|
||
|
use SL::DB::Helper::HardRecordLinks;
|
||
|
use SL::Helper::Flash;
|
||
|
use SL::Locale::String;
|
||
|
use SL::System::TaskServer;
|
||
| ... | ... | |
|
my $attachment = $params{attachment};
|
||
|
my $record = $params{record};
|
||
|
|
||
|
# soft link
|
||
|
$email_journal->link_to_record($record);
|
||
|
|
||
|
# hard link
|
||
|
SL::DB::Helper::HardRecordLinks->create_link($record, $email_journal);
|
||
|
$email_journal->hard_link_to_record($record);
|
||
|
|
||
|
if ($attachment) {
|
||
|
$attachment->add_file_to_record($record);
|
||
Auch abrufbar als: Unified diff
SL::DB::Helper::HardLinkedRecords: Nutzung wie LinkedRecords