[dev] Problem with MainObject

Eric Boudrand eb at sistech.fr
Thu Nov 9 10:04:01 CET 2006


Hi Alexander,

Thank you for the tip. I added MainObject  and it works.

use Kernel::System::Main;

my $MainObject = Kernel::System::Main->new(
    configObject => $ConfigObject,
    LogObject => $LogObject,
);
 
 my $TicketObject = Kernel::System::Ticket->new (
    ConfigObject => $ConfigObject,
    LogObject => $LogObject,
    DBObject => $DBObject,
    TimeObject => $TimeObject,
    MainObject => $MainObject,
);

Regards.

Eric Boudrand


More information about the dev mailing list