Adapt BaseURL calls to new UriInterface
This commit is contained in:
@@ -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']);
|
||||
|
||||
Reference in New Issue
Block a user