Commit abcfd219 authored by Dries's avatar Dries

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

parent 5407b630
......@@ -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.
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment