From 5603f5a3fcf461c0965d2ee12a30664ffd88b22e Mon Sep 17 00:00:00 2001 From: Alex Pott Date: Tue, 27 Oct 2015 12:27:33 +0000 Subject: [PATCH] Issue #2600990 by heykarthikwithu: Removal of unused variable BookManager::getActiveTrailIds --- core/modules/book/src/BookManager.php | 1 - 1 file changed, 1 deletion(-) diff --git a/core/modules/book/src/BookManager.php b/core/modules/book/src/BookManager.php index e6e25883f5a..5b72052cf05 100644 --- a/core/modules/book/src/BookManager.php +++ b/core/modules/book/src/BookManager.php @@ -488,7 +488,6 @@ class BookManager implements BookManagerInterface { * {@inheritdoc} */ public function getActiveTrailIds($bid, $link) { - $nid = isset($link['nid']) ? $link['nid'] : 0; // The tree is for a single item, so we need to match the values in its // p columns and 0 (the top level) with the plid values of other links. $active_trail = array(0);