[GAIA BUG946750-FORM] -  removed dead code