summaryrefslogtreecommitdiff
path: root/modules/gallery/helpers/photo.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-12-06 21:32:27 -0800
committerTim Almdal <tnalmdal@shaw.ca>2009-12-06 21:32:27 -0800
commit16bed1ffd54000922f806af669f618970600420f (patch)
tree4edebe0678367d96199bf7e14df0f92b078fed06 /modules/gallery/helpers/photo.php
parentc603a446cd6e8aa54254178b4d19e920376aab9f (diff)
Remove the hidden form variable _method which was used in the no longer rest controllers.
Diffstat (limited to 'modules/gallery/helpers/photo.php')
-rw-r--r--modules/gallery/helpers/photo.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/gallery/helpers/photo.php b/modules/gallery/helpers/photo.php
index 4188e192..dab98436 100644
--- a/modules/gallery/helpers/photo.php
+++ b/modules/gallery/helpers/photo.php
@@ -139,7 +139,6 @@ class photo_Core {
static function get_edit_form($photo) {
$form = new Forge("photos/update/$photo->id", "", "post", array("id" => "g-edit-photo-form"));
- $form->hidden("_method")->value("put");
$group = $form->group("edit_item")->label(t("Edit Photo"));
$group->input("title")->label(t("Title"))->value($photo->title);
$group->textarea("description")->label(t("Description"))->value($photo->description);