mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-09-26 03:09:11 +02:00
Sync: two more lost $rules
This commit is contained in:
parent
0b1f090972
commit
6f2bd88069
@ -61,7 +61,7 @@ class Sync
|
|||||||
*/
|
*/
|
||||||
public static function hasModifications(SyncRule $rule)
|
public static function hasModifications(SyncRule $rule)
|
||||||
{
|
{
|
||||||
return count(self::getExpectedModifications($rule)) > 0;
|
return count(self::getExpectedModifications()) > 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -515,7 +515,7 @@ class Sync
|
|||||||
$db = $this->db;
|
$db = $this->db;
|
||||||
|
|
||||||
// TODO: Evaluate whether fetching data should happen within the same transaction
|
// TODO: Evaluate whether fetching data should happen within the same transaction
|
||||||
$objects = $this->prepare($rule);
|
$objects = $this->prepare();
|
||||||
|
|
||||||
$dba = $db->getDbAdapter();
|
$dba = $db->getDbAdapter();
|
||||||
$dba->beginTransaction();
|
$dba->beginTransaction();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user