From fbfde43332191afc007535dc8c102750cde1818b Mon Sep 17 00:00:00 2001 From: Gerhard Killesreiter <killes_www_drop_org@227.no-reply.drupal.org> Date: Sat, 1 Apr 2006 14:29:53 +0000 Subject: [PATCH] #56789, remove left over call to node_title_validate, patch by chx --- modules/poll.module | 2 -- modules/poll/poll.module | 2 -- 2 files changed, 4 deletions(-) diff --git a/modules/poll.module b/modules/poll.module index 7d452d5f44be..1087f742fb57 100644 --- a/modules/poll.module +++ b/modules/poll.module @@ -103,8 +103,6 @@ function poll_submit(&$node) { * Implementation of hook_validate(). */ function poll_validate($node) { - node_validate_title($node, t('You have to specify a question.')); - if (isset($node->title)) { // Check for at least two options and validate amount of votes: $realchoices = 0; diff --git a/modules/poll/poll.module b/modules/poll/poll.module index 7d452d5f44be..1087f742fb57 100644 --- a/modules/poll/poll.module +++ b/modules/poll/poll.module @@ -103,8 +103,6 @@ function poll_submit(&$node) { * Implementation of hook_validate(). */ function poll_validate($node) { - node_validate_title($node, t('You have to specify a question.')); - if (isset($node->title)) { // Check for at least two options and validate amount of votes: $realchoices = 0; -- GitLab