public function afterUpdate()
 {
     parent::afterUpdate();
     $cache = $this->getDi()->get('cache');
     $cache->delete(self::cacheSlugKey($this->getSlug()));
     $this->cacheManager->delete([Keys::PUBLICATION, $this->slug, self::$lang]);
 }
Exemple #2
0
 public function afterUpdate()
 {
     parent::afterUpdate();
     $cache = $this->getDi()->get('cache');
     $cache->delete(self::cacheSlugKey($this->getSlug()));
 }