]> git.mxchange.org Git - friendica.git/blobdiff - include/post_update.php
Change called method names
[friendica.git] / include / post_update.php
index f77cb018464f8a6dc41567759e8fad03609ace57..f67c064daf2f527f21bd9b5aed2e2523b80a9b83 100644 (file)
@@ -210,8 +210,8 @@ function post_update_1198() {
 
        // Set the "gcontact-id" in the item table and add a new gcontact entry if needed
        foreach ($item_arr AS $item) {
-               $author_id = get_contact($item["author-link"], 0);
-               $owner_id = get_contact($item["owner-link"], 0);
+               $author_id = Contact::getIdForURL($item["author-link"], 0);
+               $owner_id = Contact::getIdForURL($item["owner-link"], 0);
 
                if ($author_id == 0)
                        $author_id = -1;