Skip to content

Commit

Permalink
Merge pull request #859 from City-of-Helsinki/UHF-X_user_inquiry
Browse files Browse the repository at this point in the history
User inquiry block is still active
  • Loading branch information
rpnykanen authored Dec 3, 2024
2 parents 4973690 + 6b7017f commit 162ff83
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions helfi_platform_config.install
Original file line number Diff line number Diff line change
Expand Up @@ -202,3 +202,16 @@ function helfi_platform_config_update_9313() : void {
$module_installer->install(['helfi_paragraphs_curated_event_list']);
}
}

/**
* UHF-9761: Remove the user inquiry -popup that is no longer used.
*/
function helfi_platform_config_update_9314() : void {
$config_factory = Drupal::configFactory();

// Make sure the configuration is present.
if (!$config_factory->get('block.block.hdbt_subtheme_user_inquiry')->isNew()) {
// Remove the user inquiry block.
$config_factory->getEditable('block.block.hdbt_subtheme_user_inquiry')->delete();
}
}

0 comments on commit 162ff83

Please sign in to comment.