As long as it was a clear cut non-recourse loan and foreclosure there should be no tax implications.
If there were second loans involved, which are generally recourse loans I believe, they will probably have to pay income tax on any amount they previously owed after the foreclosure.