Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ before starting to add changes. Use example [placed in the end of the page](#exa
Updated code analysis script.
- [PR-306](https://github.com/OS2Forms/os2forms/pull/306)
Made digital signature text placement configurable.
- [#251](https://github.com/OS2Forms/os2forms/issues/251)
Webform encrypt uninstall problem fix
- git actions check
- [PR-289](https://github.com/OS2Forms/os2forms/pull/289)
Added required "Zoom control position" to map element
- [#251](https://github.com/OS2Forms/os2forms/issues/251)
Updated Webform encrypt uninstall problem fix

## [5.0.0] 2025-11-18

Expand Down
16 changes: 16 additions & 0 deletions modules/os2forms_encrypt/os2forms_encrypt.install
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,19 @@
function os2forms_encrypt_install() {
module_set_weight('os2forms_encrypt', 9999);
}

/**
* Implements hook_uninstall().
*/
function os2forms_encrypt_uninstall(): void {
$config_factory = \Drupal::configFactory();

$configs = [
'encrypt.profile.webform',
'key.key.webform',
];

foreach ($configs as $config_name) {
$config_factory->getEditable($config_name)->delete();
}
}
Loading