function invalidate() { _elgg_rmdir($this->getPath(), true); $time = time(); $this->config->save("simplecache_lastupdate", $time); $this->config->set('lastcache', $time); return true; }