Files
scripts/Perl OTRS/Kernel/Output/HTML/TicketMenu/TeaserAttachmentView.pm
2024-10-14 00:08:40 +02:00

32 lines
723 B
Perl

# --
# Copyright (C) 2001-2019 OTRS AG, https://otrs.com/
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (GPL). If you
# did not receive this file, see https://www.gnu.org/licenses/gpl-3.0.txt.
# --
package Kernel::Output::HTML::TicketMenu::TeaserAttachmentView;
use parent 'Kernel::Output::HTML::Base';
use strict;
use warnings;
our @ObjectDependencies = (
'Kernel::System::OTRSBusiness',
);
sub Run {
my ( $Self, %Param ) = @_;
if ( $Kernel::OM->Get('Kernel::System::OTRSBusiness')->OTRSBusinessIsInstalled() ) {
return;
}
# return item
return { %{ $Param{Config} }, %{ $Param{Ticket} }, %Param };
}
1;