Skip to content
Snippets Groups Projects
Commit abcfd219 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Code improvement: removed some redundant code from the node module.

parent 5407b630
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -691,19 +691,6 @@ function node_menu($may_cache) {
return $items;
}
function node_admin_edit($node) {
if (is_numeric($node)) {
$node = node_load(array('nid' => $node));
}
$output .= node_form($node);
// Display the node form extensions:
$output .= implode("\n", module_invoke_all('node_link', $node));
return $output;
}
/**
* Generate the content administration overview.
*/
......
......@@ -691,19 +691,6 @@ function node_menu($may_cache) {
return $items;
}
function node_admin_edit($node) {
if (is_numeric($node)) {
$node = node_load(array('nid' => $node));
}
$output .= node_form($node);
// Display the node form extensions:
$output .= implode("\n", module_invoke_all('node_link', $node));
return $output;
}
/**
* Generate the content administration overview.
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment