Commit f97306c4 authored by catch's avatar catch

Issue #2080571 by mrsinguyen: Remove Unused local variable $id from...

Issue #2080571 by mrsinguyen: Remove Unused local variable $id from /core/modules/comment/lib/Drupal/comment/Entity/Comment.php
parent af3f30b3
......@@ -332,7 +332,7 @@ public static function postDelete(EntityStorageControllerInterface $storage_cont
$child_cids = $storage_controller->getChildCids($entities);
entity_delete_multiple('comment', $child_cids);
foreach ($entities as $id => $entity) {
foreach ($entities as $entity) {
$storage_controller->updateNodeStatistics($entity->nid->target_id);
}
}
......
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