Skip to content

Commit 4621c14

Browse files
authored
Remove unnecessary return statement (#44820)
1 parent 55b56ec commit 4621c14

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

plugins/user/terms/src/Extension/Terms.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,6 @@ public function onContentPrepareForm(PrepareFormEvent $event)
8080
// Push the terms and conditions article ID into the terms field.
8181
$form->setFieldAttribute('terms', 'article', $termsarticle, 'terms');
8282
$form->setFieldAttribute('terms', 'note', $termsnote, 'terms');
83-
84-
return true;
8583
}
8684

8785
/**

0 commit comments

Comments
 (0)