From 7b7bd71132f2d066265f7a9b7cc553818b86e5a9 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 29 Jan 2010 12:14:44 +0000 Subject: - Patch #693362 by catch, Dave Reid: taxonomy_form_all() is dangerous and ?q=admin/content can be a performance killer. --- modules/node/node.module | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'modules/node/node.module') diff --git a/modules/node/node.module b/modules/node/node.module index 971aeadf9..c454bd7fc 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -2503,19 +2503,6 @@ function node_form_search_form_alter(&$form, $form_state) { '#maxlength' => 255, ); - // Taxonomy box: - if ($taxonomy = module_invoke('taxonomy', 'form_all', 1)) { - $form['advanced']['term'] = array( - '#type' => 'select', - '#title' => t('Only in the term(s)'), - '#prefix' => '
', - '#size' => 10, - '#suffix' => '
', - '#options' => $taxonomy, - '#multiple' => TRUE, - ); - } - // Node types: $types = array_map('check_plain', node_type_get_names()); $form['advanced']['type'] = array( -- cgit v1.2.3