Skip to content
Snippets Groups Projects
Commit c29404dc authored by Eric-Alexander Schaefer's avatar Eric-Alexander Schaefer
Browse files

#327728 by ericschaefer: registering the validation function is not needed anymore since it is gone

parent be36224b
No related branches found
Tags 8.x-1.1
No related merge requests found
......@@ -88,9 +88,6 @@ function scheduler_form_alter(&$form, $form_state, $form_id) {
// if scheduling has been enabled for this node type
if (variable_get('scheduler_'. $form['type']['#value'], 0) == 1) {
// We add the additional validation function this way to preserve any existing validation function
$form['#validate'][] = '_scheduler_form_validate';
//use JScalendar picker for dates if the module exists and is enabled
$jscalendar = FALSE;
if (module_exists('jscalendar')) {
......
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