Removed unused function in ded server.