SyncRule: remove unused property

This commit is contained in:
Thomas Gelf 2022-06-20 09:50:56 +02:00
parent 411733a1ed
commit 75b73604a8
1 changed files with 0 additions and 9 deletions

View File

@ -47,9 +47,6 @@ class SyncRule extends DbObject implements ExportInterface
private $purgeStrategy; private $purgeStrategy;
/** @var int */
private $currentSyncRunId;
private $filter; private $filter;
private $hasCombinedKey; private $hasCombinedKey;
@ -161,7 +158,6 @@ class SyncRule extends DbObject implements ExportInterface
if ($apply && $runId = $sync->apply()) { if ($apply && $runId = $sync->apply()) {
Benchmark::measure('Successfully synced rule ' . $this->get('rule_name')); Benchmark::measure('Successfully synced rule ' . $this->get('rule_name'));
$this->set('sync_state', 'in-sync'); $this->set('sync_state', 'in-sync');
$this->currentSyncRunId = $runId;
} }
$hadChanges = true; $hadChanges = true;
@ -202,11 +198,6 @@ class SyncRule extends DbObject implements ExportInterface
return $this->checkForChanges(true); return $this->checkForChanges(true);
} }
public function getCurrentSyncRunId()
{
return $this->currentSyncRunId;
}
public function getSourceKeyPattern() public function getSourceKeyPattern()
{ {
if ($this->hasCombinedKey()) { if ($this->hasCombinedKey()) {