ported code (comment style changed)
ported code (comment style changed)

muehlbauer/otrs,capeit-tto/otrs,balazj/otrs,MBRG/otrs,oiami/otrs,thorsteneckel/otrs,s7design/otrs,rudy500/otrs,moritz/otrs,xhoy/otrs,crythias/otrs,rudy500/otrs,mbeijen/otrs-1,linearregression/otrs,thorsteneckel/otrs,brandonshults01/otrs,moritz/otrs,nilei/otrs,thorsteneckel/otrs,MBRG/otrs,mburggraf/otrs,StCyr/otrs,mburggraf/otrs,s7design/otrs,linearregression/otrs,oiami/otrs,nilei/otrs,crythias/otrs,noritnk/otrs,mburggraf/otrs,linearregression/otrs,muehlbauer/otrs,StCyr/otrs,moritz/otrs,rudy500/otrs,nilei/otrs,capeit-tto/otrs,PortgasDAce/otrs,brandonshults01/otrs,xhoy/otrs,crythias/otrs,MBRG/otrs,MBRG/otrs,crythias/otrs,capeit-tto/otrs,mburggraf/otrs,brandonshults01/otrs,s7design/otrs,nilei/otrs,eliasp/otrs,moritz/otrs,eliasp/otrs,muehlbauer/otrs,StCyr/otrs,noritnk/otrs,brandonshults01/otrs,thorsteneckel/otrs,vlascoder/otrs,oiami/otrs,muehlbauer/otrs,rudy500/otrs,linearregression/otrs,thorsteneckel/otrs,StCyr/otrs,s7design/otrs,eliasp/otrs,nilei/otrs,balazj/otrs,mburggraf/otrs,xhoy/otrs,brandonshults01/otrs,oiami/otrs,StCyr/otrs,oiami/otrs,noritnk/otrs,muehlbauer/otrs,balazj/otrs,eliasp/otrs,xhoy/otrs,moritz/otrs,mbeijen/otrs-1,PortgasDAce/otrs,balazj/otrs,vlascoder/otrs,balazj/otrs,rudy500/otrs,PortgasDAce/otrs,vlascoder/otrs,xhoy/otrs,PortgasDAce/otrs,eliasp/otrs,linearregression/otrs,mbeijen/otrs-1,MBRG/otrs,crythias/otrs,s7design/otrs,PortgasDAce/otrs