/** * Update the mirrors, using the scheduler task of EXT:em. * * @throws RuntimeException * @return boolean */ public function updateMirrors() { $result = FALSE; $repositories = $this->repositoryRepository->findAll(); // update all repositories foreach ($repositories as $repository) { $this->repositoryHelper->setRepository($repository); $result = $this->repositoryHelper->updateExtList(); unset($objRepository, $this->repositoryHelper); } return $result; }