City Council today unanimously approved legislation to close a pension loophole that allowed outgoing Managing Director Camille Barnett to buy into the system after just two years service.

Barnett, who is set to leave the city government June 30, will receive a lifetime pension of $49,880 after paying $120,451 into the system. The perk was available due to rules that allow employees to count service in other municipalities.

Under the new legislation, proposed by Councilman Frank DiCicco, employees must serve for five years before they could buy into the pension program. The Nutter administration supported the legislation.