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

4.5.x
Dries Buytaert 2004-10-10 11:17:24 +00:00
parent 5407b630e3
commit abcfd21927
2 changed files with 0 additions and 26 deletions

View File

@ -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.
*/

View File

@ -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.
*/