Commit 00218c86 authored by spokje's avatar spokje Committed by Lee Rowlands
Browse files

Issue #3312340 by Spokje, catch, fathima.asmat: 1.x branch removes...

Issue #3312340 by Spokje, catch, fathima.asmat: 1.x branch removes hal_post_update_delete_settings()
parent 8fa658d4
Loading
Loading
Loading
Loading
+6 −5
Original line number Diff line number Diff line
@@ -6,10 +6,11 @@
 */

/**
 * Implements hook_removed_post_updates().
 * Remove obsolete hal.settings configuration key.
 */
function hal_removed_post_updates() {
  return [
    'hal_post_update_delete_settings' => '10.0.0',
  ];
function hal_post_update_delete_settings() {
  \Drupal::configFactory()
    ->getEditable('hal.settings')
    ->clear('bc_file_uri_as_url_normalizer')
    ->save();
}