Commit bcb6257b authored by Dries's avatar Dries
Browse files

- Removed valid_input_check().

parent 0ff2db93
......@@ -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()) {
......
......@@ -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()) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment