From 0cce47f15f21f59ec77de41c76cf13eb2b2f4f74 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 28 Sep 2001 16:20:55 +0000 Subject: - fixed small glitch in node_del() - fixed small glitch in comment_del() - changed the API of the form() function. The first parameter, the "action"-attribute in the
-tag has been made optional. By default, it will be set to "$REQUEST_URI". Why? Because in 98% of the cases we would do: global $REQUEST_URI; $form = form($REQUEST_URI, $form_content); while we can do: $form = form($form_content); now. Update your modules (and sorry for the inconvenience)! --- modules/cloud.module | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'modules/cloud.module') diff --git a/modules/cloud.module b/modules/cloud.module index 381319e1a..511087a32 100644 --- a/modules/cloud.module +++ b/modules/cloud.module @@ -68,7 +68,6 @@ function cloud_update($site) { function cloud_form($edit = array()) { - global $REQUEST_URI; $form .= form_textfield("Site name", "name", $edit["name"], 50, 128, "The name of the website you want to monitor for updates."); $form .= form_textfield("Site URL", "link", $edit["link"], 50, 255, "The URL of the website you want to monitor for updates."); @@ -81,7 +80,7 @@ function cloud_form($edit = array()) { $form .= form_hidden("sid", $edit["sid"]); } - return form($REQUEST_URI, $form); + return form($form); } function cloud_get_site($sid) { -- cgit v1.2.3