Skip to content
Snippets Groups Projects
Commit 3eea71cb authored by Alex Barth's avatar Alex Barth
Browse files

Remove unused form validation callback.

parent e7f07e5f
No related branches found
No related tags found
No related merge requests found
......@@ -358,22 +358,10 @@ function feeds_form_alter(&$form, $form_state, $form_id) {
// Cannot pass on the FeedsImporter object, pass on id.
$form['#feed_id'] = $importer->id;
// Only set validation handler. Save object on hook_nodeapi('insert')
// $form['#validate'][] = 'feeds_node_form_validate';
}
}
}
/**
* Additional validation handler for node forms.
*
* @see feeds_form_alter().
*/
function feeds_node_form_validate($form, &$form_state) {
feeds_include('feeds.pages', '.');
feeds_import_form_validate($form, $form_state);
}
/**
* Refreshes a feed identified by $feed_info.
*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment