DBA::escape($contact->preferredUsername),
DBA::escape($contact->image->url),
DBA::escape(NETWORK_PUMPIO),
- intval(CONTACT_IS_FRIEND),
+ intval(Contact::FRIEND),
intval(1),
DBA::escape($contact->location->displayName),
DBA::escape($contact->summary),
use Friendica\Core\L10n;
use Friendica\Core\PConfig;
use Friendica\Database\DBA;
+use Friendica\Model\Contact;
use Friendica\Model\GContact;
use Friendica\Model\Group;
use Friendica\Model\Item;
DBA::escape($contact->screen_name),
DBA::escape($contact->profile_image_url),
DBA::escape(NETWORK_STATUSNET),
- intval(CONTACT_IS_FRIEND),
+ intval(Contact::FRIEND),
intval(1),
DBA::escape($contact->location),
DBA::escape($contact->description),
$fields['nurl'] = normalise_link($url);
$fields['alias'] = 'twitter::' . $data->id_str;
$fields['poll'] = 'twitter::' . $data->id_str;
- $fields['rel'] = CONTACT_IS_FRIEND;
+ $fields['rel'] = Contact::FRIEND;
$fields['priority'] = 1;
$fields['writable'] = true;
$fields['blocked'] = false;