Skip to content
Snippets Groups Projects
Commit b2ab427b authored by Angie Byron's avatar Angie Byron
Browse files

Issue #2081167 by smiro: Remove Unused local variable from...

Issue #2081167 by smiro: Remove Unused local variable  from /core/modules/block/custom_block/lib/Drupal/custom_block/CustomBlockStorageController.php.
parent 72e7cb95
No related branches found
No related tags found
No related merge requests found
......@@ -25,7 +25,7 @@ protected function attachLoad(&$blocks, $load_revision = FALSE) {
// Create an array of block types for passing as a load argument.
// Note that blocks at this point are still \StdClass objects returned from
// the database.
foreach ($blocks as $id => $entity) {
foreach ($blocks as $entity) {
$types[$entity->type] = $entity->type;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment