Sync: two more lost $rules

This commit is contained in:
Thomas Gelf 2016-02-23 13:41:19 +01:00
parent 0b1f090972
commit 6f2bd88069

View File

@ -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();