SyncRule: remove unused property
This commit is contained in:
parent
411733a1ed
commit
75b73604a8
|
@ -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()) {
|
||||||
|
|
Loading…
Reference in New Issue