Skip to content

Commit

Permalink
Remove old code
Browse files Browse the repository at this point in the history
  • Loading branch information
vmcj committed Sep 3, 2023
1 parent d4f7a5c commit 564d092
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions webapp/src/Service/ExternalContestSourceService.php
Original file line number Diff line number Diff line change
Expand Up @@ -343,8 +343,6 @@ protected function importFromCcsApi(array $eventsToSkip, ?callable $progressRepo
[$response->getStatusCode()]
);
$this->setLastHTTPCode($response->getStatusCode());
$curError = $this->getInternalError();
dump($curError);
if (!$this->getInternalError()) {
$error = new InternalError();
$error
Expand All @@ -354,10 +352,6 @@ protected function importFromCcsApi(array $eventsToSkip, ?callable $progressRepo
->setTime(Utils::now());
$this->em->persist($error);
$this->em->flush();
dump($error);
$this->setInternalError($error);
$rror = $this->getInternalError();
dump($rror);
}
sleep(5);
continue;
Expand Down

0 comments on commit 564d092

Please sign in to comment.