That function is used to move the feed by mail subscriber to a preference. It was made for another extension. But your code is correct, only I’ll add the specific action to subscribe every user to feed by mail.
At least I’m looking inside newsletter 3 that should have the same code, or are you taking, as I think, the code from newsletter pro? May be there is a wrong action labeling there.