/** * @inheritdoc */ public function clearcaches($hash = null) { if (is_callable('parent::clearcaches')) { return parent::clearcaches($hash); } // for elFinder < 2.1.16 if ($hash === null) { $this->clearcache(); } else { $path = $this->decode($hash); unset($this->cache[$path], $this->dirsCache[$path], $this->subdirsCache[$path]); } }