remove unused helper function
fixes bug 920267 - calendar page