This is an excellent program - cops essentially doing private security work in crime-ridden buildings for landlords at no extra charge. If it's dismantled, law-abiding tenants will pay the price in body counts and permanent disabilities, given the kinds of things that go on there. I would be not be surprised if the plaintiffs were being paid by drug dealers to file the complaints.
Which said cops have absolute NO BUSINESS doing. If the building/tenants want to be guarded, they need to hire security to do so. The idea that cops should do INTERNAL PATROLS in a PRIVATE BUILDING is completely wrong from every perspective I can think of.