Update GravatarRPC.php

removed duplicate code