protected function checkUpdate(fs\file $cache, array $aFiles) { $bResult = $this->getFusion() ? $this->getFusion()->read('update') : false; if (!$bResult) { $update = $cache->getLastChange(); foreach ($aFiles as $file) { if ($file->getLastChange() > $update) { $bResult = true; break; } } } return $bResult; }