Skip to content

Commit

Permalink
Revert "[GOVCMSD10-718] Uninstall aggregator from distribution"
Browse files Browse the repository at this point in the history
  • Loading branch information
ruwanl authored and Ruwan committed Nov 28, 2024
1 parent accc1a5 commit 86a9637
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions includes/govcms.update.inc
Original file line number Diff line number Diff line change
Expand Up @@ -165,17 +165,3 @@ function govcms_update_10008() {
$moduleInstaller->install(['event_log_track_file']);
}
}
/**
* Implements hook_update_N().
* Uninstall aggregator module if marked as 'obsolete'.
*/
function govcms_update_10009() {
// Get the Lifecycle service.
$lifecycle_service = \Drupal::service('govcms.modules.lifecycle');

// List of modules to uninstall.
$modules_to_uninstall = ['aggregator'];

// Call the service method to uninstall specified modules marked as 'obsolete'.
$lifecycle_service->uninstallObsoleteModules($modules_to_uninstall);
}

0 comments on commit 86a9637

Please sign in to comment.