summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2006-08-07 19:29:38 +0000
committerDries Buytaert <dries@buytaert.net>2006-08-07 19:29:38 +0000
commit9700fa0c0b8bfa64aefcdaef75f64e306d2a4995 (patch)
tree0cf0418572d07c2782b78494241f6d3d6cc7744e
parent729fa6c11b604dc549fb8385a03fb9af28ca68d3 (diff)
downloadbrdo-9700fa0c0b8bfa64aefcdaef75f64e306d2a4995.tar.gz
brdo-9700fa0c0b8bfa64aefcdaef75f64e306d2a4995.tar.bz2
- Patch #72343 by dww: removed stray status message.
-rw-r--r--modules/book/book.module4
1 files changed, 0 insertions, 4 deletions
diff --git a/modules/book/book.module b/modules/book/book.module
index 003a0360d..f389b4f7e 100644
--- a/modules/book/book.module
+++ b/modules/book/book.module
@@ -460,10 +460,6 @@ function book_nodeapi(&$node, $op, $teaser, $page) {
if (!$teaser) {
$book = db_fetch_array(db_query('SELECT * FROM {book} WHERE vid = %d', $node->vid));
if ($book) {
- if (user_access('administer nodes')) {
- drupal_set_message(t("The post has been submitted for moderation and won't be accessible until it has been approved."));
- }
-
foreach ($book as $key => $value) {
$node->$key = $value;
}