Skip to content

Commit 6a86f7b

Browse files
ACMS-1991: Add update hook to uninstall purge_processor_lateruntime.
1 parent 20f9905 commit 6a86f7b

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

acquia_cms.profile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -336,3 +336,15 @@ function acquia_cms_update_8004() {
336336
$acms_common->set('starter_kit_name', 'acquia_cms_existing_site')->save(TRUE);
337337
}
338338
}
339+
340+
/**
341+
* Implements hook_update_N().
342+
*
343+
* Uninstall Late runtime processor module.
344+
*/
345+
function acquia_cms_update_8005() {
346+
if (\Drupal::moduleHandler()->moduleExists('purge_processor_lateruntime')) {
347+
// Uninstall purge_processor_lateruntime module.
348+
\Drupal::service('module_installer')->uninstall(['purge_processor_lateruntime']);
349+
}
350+
}

0 commit comments

Comments
 (0)