diff --git a/includes/govcms.update.inc b/includes/govcms.update.inc index c1097f164..ea0567740 100644 --- a/includes/govcms.update.inc +++ b/includes/govcms.update.inc @@ -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); -}