forked from friendica/friendica-addons
pumpio: Reverting programming that checks for invalid contacts
This commit is contained in:
parent
97fe8aef5c
commit
a2dc41e8de
1 changed files with 0 additions and 3 deletions
|
@ -888,9 +888,6 @@ function pumpio_dolike(&$a, $uid, $self, $post, $own_id) {
|
||||||
|
|
||||||
function pumpio_get_contact($uid, $contact) {
|
function pumpio_get_contact($uid, $contact) {
|
||||||
|
|
||||||
if (($contact->url == "") OR ($contact->id == 0))
|
|
||||||
return(false);
|
|
||||||
|
|
||||||
$r = q("SELECT id FROM unique_contacts WHERE url='%s' LIMIT 1",
|
$r = q("SELECT id FROM unique_contacts WHERE url='%s' LIMIT 1",
|
||||||
dbesc(normalise_link($contact->url)));
|
dbesc(normalise_link($contact->url)));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue