added compatibility with dominiks code
Authored by: benkick 2010-02-24
Parent: [r10570]
Child: [r10572]