Remove some unneeded local vars from EditPage.php

Looks like a left over from refactoring in r31475

Change-Id: I6ffd2e1db8a842bebc37ce67e6265714258e79f9
Merge "Remove some unneeded local vars from EditPage.php"