Remove more obsolete code from action.php