Removed deprecated call for getFlashes
Merge pull request #967 from whisller/removed_deprecated_get_flashes

Removed deprecated call for getFlashes