Adapt BaseURL calls to new UriInterface

This commit is contained in:
Philipp
2023-02-18 20:57:30 +01:00
parent 9e6d95284b
commit f0c29edcde
101 changed files with 218 additions and 241 deletions

View File

@@ -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']);