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]);
 }
Beispiel #2
0
 public function afterUpdate()
 {
     parent::afterUpdate();
     $cache = $this->getDi()->get('cache');
     $cache->delete(self::cacheSlugKey($this->getSlug()));
 }