]> git.mxchange.org Git - friendica.git/blobdiff - include/like.php
Change called method names
[friendica.git] / include / like.php
index e8d69689b5453391b727a817a8a5df532c0b82d3..e6f1aab6de11220ed185c91ed8703b718bcacf78 100644 (file)
@@ -116,7 +116,7 @@ function do_like($item_id, $verb) {
                $item_contact_id = $owner_self_contact['id'];
                $item_contact = $owner_self_contact;
        } else {
-               $item_contact_id = get_contact($author_contact['url'], $item['uid']);
+               $item_contact_id = Contact::getIdForURL($author_contact['url'], $item['uid']);
 
                $contacts = q("SELECT * FROM `contact` WHERE `id` = %d",
                        intval($item_contact_id)