Skip to content

Commit

Permalink
Issue #3457993 by alex.skrypnyk: Provisioning script does not re-use …
Browse files Browse the repository at this point in the history
…existing block UUIDs'.
  • Loading branch information
AlexSkrypnyk committed Jun 29, 2024
1 parent faa4e05 commit f0ee57c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions web/themes/contrib/civictheme/theme-settings.provision.inc
Original file line number Diff line number Diff line change
Expand Up @@ -449,6 +449,7 @@ function civictheme_provision_place_block(string $label, string $region, string
// Remove block if it already exists.
$block = Block::load($values['id']);
if ($block !== NULL) {
$values['uuid'] = $block->uuid();
$block->delete();
}

Expand Down

0 comments on commit f0ee57c

Please sign in to comment.