diff --git a/plugins/user/terms/src/Extension/Terms.php b/plugins/user/terms/src/Extension/Terms.php index 0995d2a8093f0..3b0934cf631c0 100644 --- a/plugins/user/terms/src/Extension/Terms.php +++ b/plugins/user/terms/src/Extension/Terms.php @@ -80,8 +80,6 @@ public function onContentPrepareForm(PrepareFormEvent $event) // Push the terms and conditions article ID into the terms field. $form->setFieldAttribute('terms', 'article', $termsarticle, 'terms'); $form->setFieldAttribute('terms', 'note', $termsnote, 'terms'); - - return true; } /**