mirror of
https://github.com/friendica/friendica
synced 2025-04-28 02:30:16 +00:00
Adapt BaseURL calls to new UriInterface
This commit is contained in:
parent
9e6d95284b
commit
f0c29edcde
101 changed files with 218 additions and 241 deletions
|
@ -629,7 +629,7 @@ class Feed
|
|||
// Distributed items should have a well-formatted URI.
|
||||
// Additionally, we have to avoid conflicts with identical URI between imported feeds and these items.
|
||||
if ($notify) {
|
||||
$item['guid'] = Item::guidFromUri($orig_plink, DI::baseUrl()->getHostname());
|
||||
$item['guid'] = Item::guidFromUri($orig_plink, DI::baseUrl()->getHost());
|
||||
$item['uri'] = Item::newURI($item['guid']);
|
||||
unset($item['plink']);
|
||||
unset($item['thr-parent']);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue