]> git.mxchange.org Git - friendica-addons.git/commitdiff
pumpio: Reverting programming that checks for invalid contacts
authorMichael Vogel <icarus@dabo.de>
Wed, 25 Jun 2014 08:29:38 +0000 (10:29 +0200)
committerMichael Vogel <icarus@dabo.de>
Wed, 25 Jun 2014 08:29:38 +0000 (10:29 +0200)
pumpio/pumpio.php

index c9eb0208f526c984554cbc669c315b527dd0a97a..624674144f39033d8ca3b741c0b952f553f07cd1 100644 (file)
@@ -888,9 +888,6 @@ function pumpio_dolike(&$a, $uid, $self, $post, $own_id) {
 
 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",
                dbesc(normalise_link($contact->url)));