Commit 1f206ca2 authored by Dries's avatar Dries

- Patch #47066 by Zen: removed dead code.

parent bfb535f6
......@@ -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);
}
/**
......
......@@ -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);
}
/**
......
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