mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-29 08:44:11 +02:00
SyncRule: drop obsolete originalId
This commit is contained in:
parent
3893455388
commit
5029a30a62
@ -64,8 +64,6 @@ class SyncRule extends DbObject implements ExportInterface
|
||||
|
||||
private $newSyncProperties;
|
||||
|
||||
private $originalId;
|
||||
|
||||
public function listInvolvedSourceIds()
|
||||
{
|
||||
if (! $this->hasBeenLoadedFromDb()) {
|
||||
@ -333,12 +331,6 @@ class SyncRule extends DbObject implements ExportInterface
|
||||
$connection = $this->getConnection();
|
||||
$db = $connection->getDbAdapter();
|
||||
$myId = $this->get('id');
|
||||
if ($this->originalId === null) {
|
||||
$originalId = $myId;
|
||||
} else {
|
||||
$originalId = $this->originalId;
|
||||
$this->originalId = null;
|
||||
}
|
||||
if ($this->hasBeenLoadedFromDb()) {
|
||||
$db->delete(
|
||||
'sync_property',
|
||||
|
Loading…
x
Reference in New Issue
Block a user