Skip to content

Commit c7d2a2c

Browse files
author
Magnar Eivind Martinsen
committed
Removed nonworking antibot function
1 parent 2e03497 commit c7d2a2c

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

metsis/metsis_search/metsis_search.module

-8
Original file line numberDiff line numberDiff line change
@@ -671,14 +671,6 @@ function metsis_search_form_alter(&$form, FormStateInterface $form_state, $form_
671671

672672
}
673673

674-
function metsis_search_antibot_form_status_alter(string $form_id, bool &$protection) {
675-
dpm($form_id);
676-
\Drupal::logger('antibot')->notice($form_id);
677-
if ($form_id === 'my_form_id') {
678-
$protection = TRUE;
679-
}
680-
}
681-
682674

683675
/**
684676
* Implements hook_views_exposed_form_alter().

0 commit comments

Comments
 (0)