Skip to content

Commit 6f30a5a

Browse files
author
Christoph Lehmann
committed
Task: Remove superfluous code
1 parent f57984e commit 6f30a5a

2 files changed

Lines changed: 0 additions & 23 deletions

File tree

Classes/Domain/Model/Client.php

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -131,11 +131,6 @@ class Client extends AbstractEntity
131131
*/
132132
protected $lastSuccessfulImport = null;
133133

134-
/**
135-
* @var \T3Monitor\T3monitoring\Domain\Model\CheckResult
136-
*/
137-
protected $earlierCheckResult;
138-
139134
/**
140135
* @var \T3Monitor\T3monitoring\Domain\Model\CheckResult
141136
*/
@@ -783,22 +778,6 @@ public function getExtraDangerAsArray()
783778
return [];
784779
}
785780

786-
/**
787-
* @return \T3Monitor\T3monitoring\Domain\Model\CheckResult
788-
*/
789-
public function getEarlierCheckResult()
790-
{
791-
return $this->earlierCheckResult;
792-
}
793-
794-
/**
795-
* @param \T3Monitor\T3monitoring\Domain\Model\CheckResult $earlierCheckResult
796-
*/
797-
public function setEarlierCheckResult(CheckResult $earlierCheckResult)
798-
{
799-
$this->earlierCheckResult = $earlierCheckResult;
800-
}
801-
802781
/**
803782
* @return \T3Monitor\T3monitoring\Domain\Model\CheckResult
804783
*/

Classes/Service/Import/ClientImport.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,6 @@ protected function importSingleClient(array $row)
140140
$resolverData = new ResolverData($row, $json, $responseHeaders);
141141
$checkResult = $this->checkResultService->createCheckResult($resolverData);
142142
$json = $resolverData->getResponse();
143-
144-
$update['earlier_check_result'] = $row['check_result'];
145143
$update['check_result'] = $checkResult->getUid();
146144

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

0 commit comments

Comments
 (0)