Don't select deleted contact when in Contact::createFromProbeForUser
This commit is contained in:
parent
6749ace4b7
commit
d3ef2b23cc
|
@ -2968,7 +2968,7 @@ class Contact
|
||||||
}
|
}
|
||||||
|
|
||||||
// check if we already have a contact
|
// check if we already have a contact
|
||||||
$condition = ['uid' => $uid, 'nurl' => Strings::normaliseLink($ret['url'])];
|
$condition = ['uid' => $uid, 'nurl' => Strings::normaliseLink($ret['url']), 'deleted' => false];
|
||||||
$contact = DBA::selectFirst('contact', ['id', 'rel', 'url', 'pending', 'hub-verify'], $condition);
|
$contact = DBA::selectFirst('contact', ['id', 'rel', 'url', 'pending', 'hub-verify'], $condition);
|
||||||
|
|
||||||
$protocol = self::getProtocol($ret['url'], $ret['network']);
|
$protocol = self::getProtocol($ret['url'], $ret['network']);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user