diff --git a/core/modules/book/src/BookManager.php b/core/modules/book/src/BookManager.php index 9de463c..8eb19ae 100644 --- a/core/modules/book/src/BookManager.php +++ b/core/modules/book/src/BookManager.php @@ -992,7 +992,6 @@ protected function doBookTreeCheckAccess(&$tree) { public function bookLinkTranslate(&$link) { // Check access via the api, since the query node_access tag doesn't check // for unpublished nodes. - // @todo - load the nodes en-mass rather than individually. $node = $this->entityManager->getStorage('node')->load($link['nid']); $link['access'] = $node && $node->access('view');