Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
D
drupal
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Insights
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Drupal.org issue queue
Drupal.org issue queue
Security & Compliance
Security & Compliance
Dependency List
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
project
drupal
Commits
abcfd219
Commit
abcfd219
authored
Oct 10, 2004
by
Dries
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Code improvement: removed some redundant code from the node module.
parent
5407b630
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
26 deletions
+0
-26
modules/node.module
modules/node.module
+0
-13
modules/node/node.module
modules/node/node.module
+0
-13
No files found.
modules/node.module
View file @
abcfd219
...
...
@@ -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.
*/
...
...
modules/node/node.module
View file @
abcfd219
...
...
@@ -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.
*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment