You can delete the line and to whole method but add a short explicit notice with link to the pull request to the issue.