Ideally, the two earth terminals are used for the ring main continuity, and a separate earth wire connection to the metal back box that the sockets screw on to. Unless your walls are dry lined of course, and then the second earth is ignored.
John
November 2009