Skip to content

Commit

Permalink
Task: Remove superfluous code
Browse files Browse the repository at this point in the history
  • Loading branch information
Christoph Lehmann committed Sep 23, 2019
1 parent f57984e commit 6f30a5a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 23 deletions.
21 changes: 0 additions & 21 deletions Classes/Domain/Model/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,11 +131,6 @@ class Client extends AbstractEntity
*/
protected $lastSuccessfulImport = null;

/**
* @var \T3Monitor\T3monitoring\Domain\Model\CheckResult
*/
protected $earlierCheckResult;

/**
* @var \T3Monitor\T3monitoring\Domain\Model\CheckResult
*/
Expand Down Expand Up @@ -783,22 +778,6 @@ public function getExtraDangerAsArray()
return [];
}

/**
* @return \T3Monitor\T3monitoring\Domain\Model\CheckResult
*/
public function getEarlierCheckResult()
{
return $this->earlierCheckResult;
}

/**
* @param \T3Monitor\T3monitoring\Domain\Model\CheckResult $earlierCheckResult
*/
public function setEarlierCheckResult(CheckResult $earlierCheckResult)
{
$this->earlierCheckResult = $earlierCheckResult;
}

/**
* @return \T3Monitor\T3monitoring\Domain\Model\CheckResult
*/
Expand Down
2 changes: 0 additions & 2 deletions Classes/Service/Import/ClientImport.php
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,6 @@ protected function importSingleClient(array $row)
$resolverData = new ResolverData($row, $json, $responseHeaders);
$checkResult = $this->checkResultService->createCheckResult($resolverData);
$json = $resolverData->getResponse();

$update['earlier_check_result'] = $row['check_result'];
$update['check_result'] = $checkResult->getUid();

$this->addExtraData($json, $update, self::MESSAGE_INFO);
Expand Down

0 comments on commit 6f30a5a

Please sign in to comment.