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 f4e2ba3
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 34 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
11 changes: 0 additions & 11 deletions Configuration/TCA/tx_t3monitoring_domain_model_client.php
Original file line number Diff line number Diff line change
Expand Up @@ -310,16 +310,5 @@
'maxitems' => 1,
],
],
'earlier_check_result' => [
'label' => 'LLL:EXT:t3monitoring/Resources/Private/Language/locallang.xlf:tx_t3monitoring_domain_model_client.earlier_check_result',
'config' => [
'readOnly' => true,
'type' => 'select',
'renderType' => 'selectSingle',
'foreign_table' => 'tx_t3monitoring_domain_model_checkresult',
'minitems' => 0,
'maxitems' => 1,
],
],
],
];

0 comments on commit f4e2ba3

Please sign in to comment.