Update platform code. Add an extra parameter exclude, to avoid checking if the platform entity is current entity.
Authored by: utunnels 2011-09-14
Parent: [r3444]
Child: [r3446]