summaryrefslogtreecommitdiff
path: root/modules/node/node.module
diff options
context:
space:
mode:
authorGerhard Killesreiter <killes_www_drop_org@227.no-reply.drupal.org>2006-03-27 18:02:48 +0000
committerGerhard Killesreiter <killes_www_drop_org@227.no-reply.drupal.org>2006-03-27 18:02:48 +0000
commit002fee7aae031fb10f62662c12e4328565ac27aa (patch)
treeb515cacfdd7721db90c4647de8534352c1a9bd5e /modules/node/node.module
parentec945c289545dad5c363cdb0894ce626006a2941 (diff)
downloadbrdo-002fee7aae031fb10f62662c12e4328565ac27aa.tar.gz
brdo-002fee7aae031fb10f62662c12e4328565ac27aa.tar.bz2
#56105, remove title validation, already enforced by #required, patch by Moshe
Diffstat (limited to 'modules/node/node.module')
-rw-r--r--modules/node/node.module12
1 files changed, 0 insertions, 12 deletions
diff --git a/modules/node/node.module b/modules/node/node.module
index ebe013b93..bdce5ebea 100644
--- a/modules/node/node.module
+++ b/modules/node/node.module
@@ -1647,18 +1647,6 @@ function node_validate($node) {
node_invoke_nodeapi($node, 'validate');
}
-/**
- * Validate the title of a node
- */
-function node_validate_title($node, $message = NULL) {
- // Validate the title field.
- if (isset($node->title)) {
- if (trim($node->title) == '') {
- form_set_error('title', isset($message) ? $message : t('You have to specify a title.'));
- }
- }
-}
-
function node_form_validate($form_id, $edit) {
node_validate($edit);
}