added param if mirror db should be used for stats
added param if mirror db should be used for stats

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