summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2005-11-30 10:09:28 +0000
committerDries Buytaert <dries@buytaert.net>2005-11-30 10:09:28 +0000
commitbcb6257b31588fadc5ee00efa16571e5eabf0420 (patch)
tree524f1b2a35b61f554b6994feaeabad43b5b9da15 /modules
parent0ff2db93ddcf7d4e514a427fc8cea41dd5718c49 (diff)
downloadbrdo-bcb6257b31588fadc5ee00efa16571e5eabf0420.tar.gz
brdo-bcb6257b31588fadc5ee00efa16571e5eabf0420.tar.bz2
- Removed valid_input_check().
Diffstat (limited to 'modules')
-rw-r--r--modules/blogapi.module8
-rw-r--r--modules/blogapi/blogapi.module8
2 files changed, 0 insertions, 16 deletions
diff --git a/modules/blogapi.module b/modules/blogapi.module
index ec19448f1..65bfe3a4c 100644
--- a/modules/blogapi.module
+++ b/modules/blogapi.module
@@ -214,10 +214,6 @@ function blogapi_blogger_new_post($appkey, $blogid, $username, $password, $conte
$edit['body'] = $content;
}
- if (!valid_input_data($edit['title'], $edit['body'])) {
- return blogapi_error(t('Terminated request because of suspicious input data.'));
- }
-
$node = node_validate($edit);
if ($errors = form_get_errors()) {
@@ -273,10 +269,6 @@ function blogapi_blogger_edit_post($appkey, $postid, $username, $password, $cont
$node->body = $content;
}
- if (!valid_input_data($node->title, $node->body)) {
- return blogapi_error(t('Terminated request because of suspicious input data.'));
- }
-
$node = node_validate($node);
if ($errors = form_get_errors()) {
diff --git a/modules/blogapi/blogapi.module b/modules/blogapi/blogapi.module
index ec19448f1..65bfe3a4c 100644
--- a/modules/blogapi/blogapi.module
+++ b/modules/blogapi/blogapi.module
@@ -214,10 +214,6 @@ function blogapi_blogger_new_post($appkey, $blogid, $username, $password, $conte
$edit['body'] = $content;
}
- if (!valid_input_data($edit['title'], $edit['body'])) {
- return blogapi_error(t('Terminated request because of suspicious input data.'));
- }
-
$node = node_validate($edit);
if ($errors = form_get_errors()) {
@@ -273,10 +269,6 @@ function blogapi_blogger_edit_post($appkey, $postid, $username, $password, $cont
$node->body = $content;
}
- if (!valid_input_data($node->title, $node->body)) {
- return blogapi_error(t('Terminated request because of suspicious input data.'));
- }
-
$node = node_validate($node);
if ($errors = form_get_errors()) {