summaryrefslogtreecommitdiff
path: root/modules/comment/helpers
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-01-18 23:27:26 +0000
committerBharat Mediratta <bharat@menalto.com>2009-01-18 23:27:26 +0000
commit1cc7b3f4be8d13a24218be1b05454f43cfc0d444 (patch)
tree394b6d67f4369974f3575ff7b5cf84af331c2c0f /modules/comment/helpers
parentb39be71a4e8c0ccd24e232fa49daca87ae29a797 (diff)
Don't force validation anymore; we're clearing the form properly in
the controller on successful add.
Diffstat (limited to 'modules/comment/helpers')
-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");