mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-11 10:58:48 +00:00
[cross] Moved CONTACT_* constants to class Friendica\Model\Contact (#670)
* [cross] Moved CONTACT_* constants to class Friendica\Model\Contact * Other PR request: - renamed Contact::CONTACT_IS_* to just plain Contact::* :-) (MrPetovan)
This commit is contained in:
parent
05bea7c61d
commit
93fb5a6151
3 changed files with 4 additions and 3 deletions
|
@ -1029,7 +1029,7 @@ function twitter_fetch_contact($uid, $data, $create_user)
|
|||
$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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue