Vague function name.  I'm not sure what would be better, though... Maybe just handleShare()?