David McCracken says St Johnstone have performed a U-turn and decided not to offer him a new deal at the club.