in "getidforurl" "no update" is now "update"

This commit is contained in:
Michael 2020-07-15 21:08:42 +00:00
parent 631095eefd
commit b0086a49e2
14 changed files with 66 additions and 60 deletions

View file

@ -47,8 +47,7 @@ class Feed extends BaseModule
if (!empty($_REQUEST['url'])) {
$url = $_REQUEST['url'];
$contact_id = Model\Contact::getIdForURL($url, local_user(), true);
$contact = Model\Contact::getById($contact_id);
$contact = Model\Contact::getByURLForUser($url, local_user(), false);
$xml = Network::fetchUrl($contact['poll']);