From e16982a652aed6db91385fbcb606002cc3232c28 Mon Sep 17 00:00:00 2001 From: Alex Pott Date: Wed, 14 Feb 2024 20:17:41 +0000 Subject: [PATCH] Less hacky fix? --- thunder.profile | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/thunder.profile b/thunder.profile index 20d95143c..15bc96449 100644 --- a/thunder.profile +++ b/thunder.profile @@ -225,12 +225,6 @@ function thunder_media_source_info_alter(array &$sources): void { * fixed. */ function _thunder_transaction(array &$install_state): void { - $manager = Database::getConnection()->transactionManager(); - $reflection = new \ReflectionClass($manager); - - /** @var array $stack */ - $stack = $reflection->getMethod('stack')->invoke($manager); - foreach (array_reverse($stack) as $id => $stackItem) { - $manager->unpile($stackItem->name, $id); - } + // Force a redirect. + $install_state['parameters_changed'] = TRUE; }