Skip to content

Commit

Permalink
Merge pull request #860 from City-of-Helsinki/UHF-X_remove_localstora…
Browse files Browse the repository at this point in the history
…ge_cleaner

Remove the rns localstorage cleaner
  • Loading branch information
rpnykanen authored Dec 4, 2024
2 parents d36c184 + 257d03f commit 2e1c2a4
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 52 deletions.
37 changes: 0 additions & 37 deletions assets/js/clear-localstorage.js

This file was deleted.

8 changes: 0 additions & 8 deletions helfi_platform_config.libraries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,6 @@ react_and_share:
js:
assets/js/reactAndShareSettings.js: {}

clear_localstorage:
version: 1.0.x
js:
assets/js/clear-localstorage.js: {}
dependencies:
- core/jquery
- core/drupal

# This library is loaded via chat_leijuke.js.
# Setting the preprocess to false will not affect this library.
# See: ChatLeijuke.php::build().
Expand Down
7 changes: 0 additions & 7 deletions helfi_platform_config.module
Original file line number Diff line number Diff line change
Expand Up @@ -170,13 +170,6 @@ function helfi_platform_config_module_implements_alter(&$implementations, $hook)
}
}

/**
* Implements hook_page_attachments().
*/
function helfi_platform_config_page_attachments(array &$attachments) : void {
$attachments['#attached']['library'][] = 'helfi_platform_config/clear_localstorage';
}

/**
* Implements hook_page_attachments_alter().
*/
Expand Down

0 comments on commit 2e1c2a4

Please sign in to comment.