Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
D
drupal
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
224
Merge Requests
224
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
project
drupal
Commits
1f206ca2
Commit
1f206ca2
authored
Feb 01, 2006
by
Dries
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Patch
#47066
by Zen: removed dead code.
parent
bfb535f6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
14 deletions
+6
-14
modules/book.module
modules/book.module
+3
-7
modules/book/book.module
modules/book/book.module
+3
-7
No files found.
modules/book.module
View file @
1f206ca2
...
...
@@ -415,12 +415,8 @@ function book_next($node) {
* page in the context of the moderation queue.
*/
function
book_content
(
$node
,
$teaser
=
FALSE
)
{
$op
=
$_POST
[
'op'
];
// Extract the page body.
$node
=
node_prepare
(
$node
,
$teaser
);
return
$node
;
// Return the page body.
return
node_prepare
(
$node
,
$teaser
);
}
/**
...
...
@@ -430,7 +426,7 @@ function book_content($node, $teaser = FALSE) {
* book with extra links to the previous and next pages.
*/
function
book_view
(
&
$node
,
$teaser
=
FALSE
,
$page
=
FALSE
)
{
$node
=
book_content
(
$node
,
$teaser
);
$node
=
node_prepare
(
$node
,
$teaser
);
}
/**
...
...
modules/book/book.module
View file @
1f206ca2
...
...
@@ -415,12 +415,8 @@ function book_next($node) {
* page in the context of the moderation queue.
*/
function
book_content
(
$node
,
$teaser
=
FALSE
)
{
$op
=
$_POST
[
'op'
];
// Extract the page body.
$node
=
node_prepare
(
$node
,
$teaser
);
return
$node
;
// Return the page body.
return
node_prepare
(
$node
,
$teaser
);
}
/**
...
...
@@ -430,7 +426,7 @@ function book_content($node, $teaser = FALSE) {
* book with extra links to the previous and next pages.
*/
function
book_view
(
&
$node
,
$teaser
=
FALSE
,
$page
=
FALSE
)
{
$node
=
book_content
(
$node
,
$teaser
);
$node
=
node_prepare
(
$node
,
$teaser
);
}
/**
...
...
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