diff options
author | Gerhard Killesreiter <killes_www_drop_org@227.no-reply.drupal.org> | 2006-03-24 14:59:06 +0000 |
---|---|---|
committer | Gerhard Killesreiter <killes_www_drop_org@227.no-reply.drupal.org> | 2006-03-24 14:59:06 +0000 |
commit | f005101afdf61818dc95ca46177544709d719fb0 (patch) | |
tree | b7e67c3ee067c3b98f988222da021a698732d8a8 | |
parent | 02ad2cfea2e0ff3586280f4668f65f9b3e8fbcba (diff) | |
download | brdo-f005101afdf61818dc95ca46177544709d719fb0.tar.gz brdo-f005101afdf61818dc95ca46177544709d719fb0.tar.bz2 |
#54519, remove old bookmarklet code. Use prepopulate.module, patch by budda
-rw-r--r-- | modules/node.module | 7 | ||||
-rw-r--r-- | modules/node/node.module | 7 |
2 files changed, 0 insertions, 14 deletions
diff --git a/modules/node.module b/modules/node.module index 3cd00a5e5..a62f0dbc8 100644 --- a/modules/node.module +++ b/modules/node.module @@ -1787,13 +1787,6 @@ function node_add($type) { // Initialize settings: $node = array('uid' => $user->uid, 'name' => $user->name, 'type' => $type); - // Allow the following fields to be initialized via $_GET (e.g. for use - // with a "blog it" bookmarklet): - foreach (array('title', 'teaser', 'body') as $field) { - if ($_GET['edit'][$field]) { - $node[$field] = $_GET['edit'][$field]; - } - } $output = node_form($node); drupal_set_title(t('Submit %name', array('%name' => node_get_name($node)))); } diff --git a/modules/node/node.module b/modules/node/node.module index 3cd00a5e5..a62f0dbc8 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -1787,13 +1787,6 @@ function node_add($type) { // Initialize settings: $node = array('uid' => $user->uid, 'name' => $user->name, 'type' => $type); - // Allow the following fields to be initialized via $_GET (e.g. for use - // with a "blog it" bookmarklet): - foreach (array('title', 'teaser', 'body') as $field) { - if ($_GET['edit'][$field]) { - $node[$field] = $_GET['edit'][$field]; - } - } $output = node_form($node); drupal_set_title(t('Submit %name', array('%name' => node_get_name($node)))); } |