diff options
author | Gerhard Killesreiter <killes_www_drop_org@227.no-reply.drupal.org> | 2006-04-01 14:29:53 +0000 |
---|---|---|
committer | Gerhard Killesreiter <killes_www_drop_org@227.no-reply.drupal.org> | 2006-04-01 14:29:53 +0000 |
commit | fbfde43332191afc007535dc8c102750cde1818b (patch) | |
tree | 472cb11f82aa074dda23eb2871d621bba692c10a /modules | |
parent | 4a68748802d2f1c0461379814f0699b2fbc93fb3 (diff) | |
download | brdo-fbfde43332191afc007535dc8c102750cde1818b.tar.gz brdo-fbfde43332191afc007535dc8c102750cde1818b.tar.bz2 |
#56789, remove left over call to node_title_validate, patch by chx
Diffstat (limited to 'modules')
-rw-r--r-- | modules/poll.module | 2 | ||||
-rw-r--r-- | modules/poll/poll.module | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/modules/poll.module b/modules/poll.module index 7d452d5f4..1087f742f 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 7d452d5f4..1087f742f 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; |