# -- # 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::System::Ticket::CustomExample; use strict; use warnings; our $ObjectManagerDisabled = 1; # disable redefine warnings in this scope { no warnings 'redefine'; ## no critic # as example redefine the TicketXXX() of Kernel::System::Ticket sub Kernel::System::Ticket::TicketXXX { my ( $Self, %Param ) = @_; # do some new stuff return 1; } # reset all warnings } 1; =head1 TERMS AND CONDITIONS This software is part of the OTRS project (L). 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 L. =cut