mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-30 09:14:09 +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)
|
||||
{
|
||||
return count(self::getExpectedModifications($rule)) > 0;
|
||||
return count(self::getExpectedModifications()) > 0;
|
||||
}
|
||||
|
||||
/**
|
||||
@ -515,7 +515,7 @@ class Sync
|
||||
$db = $this->db;
|
||||
|
||||
// TODO: Evaluate whether fetching data should happen within the same transaction
|
||||
$objects = $this->prepare($rule);
|
||||
$objects = $this->prepare();
|
||||
|
||||
$dba = $db->getDbAdapter();
|
||||
$dba->beginTransaction();
|
||||
|
Loading…
x
Reference in New Issue
Block a user