Replaced SQL adding queue with new Kernel::System::Queue->QueueAdd().
Replaced SQL adding queue with new Kernel::System::Queue->QueueAdd().

Thanks to Atif.

otrs-xx/otrs,otrs-xx/otrs,otrs-xx/otrs,otrs-xx/otrs