pumpio: Reverting programming that checks for invalid contacts

pull/203/head
Michael Vogel 2014-06-25 10:29:38 +02:00
parent 97fe8aef5c
commit a2dc41e8de
1 changed files with 0 additions and 3 deletions

View File

@ -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)));