Commit df833f06 authored by webchick's avatar webchick
Browse files

Issue #2080707 by chertzog: Remove Unused local variable () from...

Issue #2080707 by chertzog: Remove Unused local variable () from /core/modules/node/lib/Drupal/node/NodeGrantDatabaseStorage.php.
parent 5d985aba
...@@ -136,7 +136,6 @@ public function alterQuery($query, array $tables, $op, AccountInterface $account ...@@ -136,7 +136,6 @@ public function alterQuery($query, array $tables, $op, AccountInterface $account
foreach ($tables as $nalias => $tableinfo) { foreach ($tables as $nalias => $tableinfo) {
$table = $tableinfo['table']; $table = $tableinfo['table'];
if (!($table instanceof SelectInterface) && $table == $base_table) { if (!($table instanceof SelectInterface) && $table == $base_table) {
$base_table_found = TRUE;
// Set the subquery. // Set the subquery.
$subquery = $this->database->select('node_access', 'na') $subquery = $this->database->select('node_access', 'na')
->fields('na', array('nid')); ->fields('na', array('nid'));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment