When this code was added, in commit 1a20a3ce4, we had no validation rules checking the presence of the start and end dates of a poll. Now we do, so we don't have to check this condition in the view.
1a20a3ce4