Weak portal plugin cleanup

Unused function came back from the dead somewhere