diff --git a/core/components/babel/model/babel/babel.class.php b/core/components/babel/model/babel/babel.class.php index 8867ce6..f57d815 100644 --- a/core/components/babel/model/babel/babel.class.php +++ b/core/components/babel/model/babel/babel.class.php @@ -154,8 +154,10 @@ public function sychronizeTvs($resourceId) { } $tv->save(); } - - $this->modx->cacheManager->clearCache(); + + if($clearCache) { + $this->modx->cacheManager->refresh(); + } } /** @@ -297,7 +299,7 @@ public function updateBabelTv($resourceIds, $linkedResources, $clearCache = true } $this->babelTv->save(); if($clearCache) { - $this->modx->cacheManager->clearCache(); + $this->modx->cacheManager->refresh(); } return; } @@ -470,4 +472,4 @@ private function _getTplChunk($name,$suffix = '.chunk.tpl') { return $chunk; } -} \ No newline at end of file +}