Exactly that, it was a win/win all round, he helps the club ease short term money problems by taking a substantial cut in pay, the club reward/thank him by giving him another year on his contract.