removal of wrong/double implemented check

Check already implemented in core/settings/ajax/changedisplayname.php
Fixes #7125