mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-09 23:14:26 +02:00
Move Contact::ACCOUNT_TYPE_* constants to User::ACCOUNT_TYPE_*
- Keep Contact::TYPE_* constants for comparison with contact.contact-type
This commit is contained in:
parent
ad9c67663d
commit
3d839bb176
12 changed files with 79 additions and 44 deletions
|
@ -138,7 +138,7 @@ class Queue
|
|||
$deliver_status = Diaspora::transmit($owner, $contact, $data, $public, true, 'Queue:' . $q_item['id'], true);
|
||||
|
||||
if ((($deliver_status >= 200) && ($deliver_status <= 299)) ||
|
||||
($contact['contact-type'] == Contact::ACCOUNT_TYPE_RELAY)) {
|
||||
($contact['contact-type'] == Contact::TYPE_RELAY)) {
|
||||
QueueModel::removeItem($q_item['id']);
|
||||
} else {
|
||||
QueueModel::updateTime($q_item['id']);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue