Cronulla Sharks coach Shane Flanagan has been sacked in the wake of the doping scandal engulfing the NRL club.