public function flushCache() { Session::setActiveViewIds(NULL); $this->registry->cache->delete('views'); $this->registry->cache->delete('categories'); }