mirror of
https://github.com/friendica/friendica
synced 2025-04-25 07:50:10 +00:00
in "getidforurl" "no update" is now "update"
This commit is contained in:
parent
631095eefd
commit
b0086a49e2
14 changed files with 66 additions and 60 deletions
|
@ -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']);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue