|
|
@@ -741,16 +741,15 @@ class SiteController extends ActionController
|
|
|
if (!$commitSuccess) {
|
|
|
throw new RuntimeException('Something went wrong while committing the result');
|
|
|
}
|
|
|
-
|
|
|
- // ## Clear the Typo3 cache for the website
|
|
|
- $this->otCacheManager->clearSiteCache($rootUid, true);
|
|
|
-
|
|
|
} catch(\Throwable $e) {
|
|
|
// rollback
|
|
|
$this->connectionPool->getConnectionByName('Default')->rollback();
|
|
|
throw $e;
|
|
|
}
|
|
|
|
|
|
+ // ## Clear the Typo3 cache for the website
|
|
|
+ $this->otCacheManager->clearSiteCache($rootUid, true);
|
|
|
+
|
|
|
return $rootUid;
|
|
|
}
|
|
|
|