fix: [sync] Invalid model call in the server pull using the update technique

pull/3725/head
iglocska 2018-09-12 15:48:43 +02:00
parent 2a64c09035
commit d8efe959e9
1 changed files with 1 additions and 0 deletions

View File

@ -1805,6 +1805,7 @@ class Server extends AppModel
} elseif (is_string($eventIds)) {
return array('error' => array(2, $eventIds));
}
$eventModel = ClassRegistry::init('Event');
$local_event_ids = $eventModel->find('list', array(
'fields' => array('uuid'),
'recursive' => -1,