The variable $show_voided_gl_trans has been removed. Not used in 2.4.