Skip to content
Snippets Groups Projects
Commit e1d76097 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #6464 by TDobes: don't enforce book revision -- rely on the default setting.
parent 27f055b5
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -161,11 +161,6 @@ function book_load($node) { ...@@ -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; return $book;
} }
......
...@@ -161,11 +161,6 @@ function book_load($node) { ...@@ -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; return $book;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment