Patric wrote:
The API does not seem to provide any way to retrieve the ticket hook, is anybody aware of a way to do this?

Managed to answer my own question...

#!/usr/bin/perl -w

use Kernel::System::Config;
...
# Create a new System Config Object
my $ConfigToolObject = Kernel::System::Config->new(
    LogObject => $LogObject,
    ConfigObject => $ConfigObject,
    DBObject => $DBObject,
    TimeObject => $TimeObject,
);
...
# Get the ticket hook
my %ConfigValues = $ConfigToolObject->ConfigItemGet(
    Name => 'Ticket::Hook',
);

my $TicketHook = $ConfigValues{'Setting'}[1]{'String'}[1]{'Content'};


Thanks



--

Q: I want to be a sysadmin.  What should I do?

A: Seek professional help.

----------------------------------------------------------------------
Find out how you can get spam free email.
http://www.bluebottle.com/tag/3

_______________________________________________
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
Support or consulting for your OTRS system?
=> http://www.otrs.com/

Reply via email to