From e1d7609710db3bd984ab8c8b1e78469e07f4f135 Mon Sep 17 00:00:00 2001
From: Dries Buytaert <dries@buytaert.net>
Date: Tue, 7 Sep 2004 21:55:23 +0000
Subject: [PATCH] - Patch #6464 by TDobes: don't enforce book revision -- rely
 on the default setting.

---
 modules/book.module      | 5 -----
 modules/book/book.module | 5 -----
 2 files changed, 10 deletions(-)

diff --git a/modules/book.module b/modules/book.module
index b84c0df9957b..fe21ba011612 100644
--- a/modules/book.module
+++ b/modules/book.module
@@ -161,11 +161,6 @@ function book_load($node) {
     }
   }
 
-  // We set the revision field to indicate that we have to create
-  // a new revision when updating this book page.  We enable this
-  // always such that the "edit this page" links appear.
-  $book->revision = 1;
-
   return $book;
 }
 
diff --git a/modules/book/book.module b/modules/book/book.module
index b84c0df9957b..fe21ba011612 100644
--- a/modules/book/book.module
+++ b/modules/book/book.module
@@ -161,11 +161,6 @@ function book_load($node) {
     }
   }
 
-  // We set the revision field to indicate that we have to create
-  // a new revision when updating this book page.  We enable this
-  // always such that the "edit this page" links appear.
-  $book->revision = 1;
-
   return $book;
 }
 
-- 
GitLab