Commit 31a68971 authored by alexpott's avatar alexpott

Issue #2062753 by sergeypavlenko: Remove Unused local variable $id from...

Issue #2062753 by sergeypavlenko: Remove Unused local variable $id from /core/modules/node/lib/Drupal/node/Plugin/Core/Entity/Node.php.
parent 311e02ed
......@@ -136,7 +136,7 @@ public function getBCEntity() {
*/
public static function preDelete(EntityStorageControllerInterface $storage_controller, array $entities) {
if (module_exists('search')) {
foreach ($entities as $id => $entity) {
foreach ($entities as $entity) {
search_reindex($entity->nid->value, 'node');
}
}
......
Markdown is supported
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