/**
* @inheritDoc
*/
- protected function writeObjects(&$items) {
+ protected function write(array $items) {
foreach ($items as &$item) {
$item['method'] = $this->method;
$item['tracking'] = $this->tracking;
}
- return parent::writeObjects($items);
+ return \CRM_Contact_BAO_GroupContact::writeRecords($items);
}
}