Update Pubedit.php

Remove unused and commented out code