The pensions of all persons who, prior to the first day of August, nineteen hundred seventeen, were receiving a pension paid out of the teachers' retirement fund of the board of education of the city shall not be increased or decreased, and all such pensions shall be paid as they become due out of pension reserve fund number two.