'notify' => $data['notify'], 'poll' => $data['poll'],
'network' => $data['network']];
- DBA::update('contact', $fields, ['addr' => $old_handle]);
+ Contact::update($fields, ['addr' => $old_handle]);
Logger::notice('Contacts are updated.');
$fields['bd'] = $birthday;
}
- DBA::update('contact', $fields, ['id' => $contact['id']]);
+ Contact::update($fields, ['id' => $contact['id']]);
Logger::info("Profile of contact ".$contact["id"]." stored for user ".$importer["uid"]);
/// @todo enable support for polls
//if ($data->poll) {
- // foreach ($data->poll AS $poll)
+ // foreach ($data->poll as $poll)
// print_r($poll);
// die("poll!\n");
//}