Skip to content
Snippets Groups Projects
Commit 31ef4eee authored by Jeff Geerling's avatar Jeff Geerling
Browse files

Remove nonexistent module_exists() call.

parent 87102c44
No related branches found
No related tags found
No related merge requests found
......@@ -158,7 +158,7 @@ class HoneypotSettingsController implements FormInterface {
}
// Comment forms.
if (module_exists('comment')) {
if (\Drupal::moduleHandler()->moduleExists('comment')) {
$form['form_settings']['comment_forms'] = array('#markup' => '<h5>' . t('Comment Forms') . '</h5>');
foreach ($types as $type) {
$id = 'comment_node_' . $type->type . '_comment_form';
......
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