summaryrefslogtreecommitdiff
path: root/modules/comment/helpers/comment.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/comment/helpers/comment.php')
-rw-r--r--modules/comment/helpers/comment.php7
1 files changed, 0 insertions, 7 deletions
diff --git a/modules/comment/helpers/comment.php b/modules/comment/helpers/comment.php
index 6e204ace..3fbf05e1 100644
--- a/modules/comment/helpers/comment.php
+++ b/modules/comment/helpers/comment.php
@@ -79,13 +79,6 @@ class comment_Core {
$group->hidden("item_id")->value($item->id);
$group->submit("")->value(t("Add"));
- // Forge will try to reload any pre-seeded values upon validation if it's a post request, so
- // force validation before seeding values.
- // @todo make that an option in Forge
- if (request::method() == "post") {
- $form->validate();
- }
-
$active = user::active();
if (!$active->guest) {
$group->inputs["name"]->value($active->full_name)->disabled("disabled");