mirror of
https://github.com/friendica/friendica
synced 2025-04-30 19:44:24 +02:00
Remove unused uid parameter in Item::newURI
This commit is contained in:
parent
b31c2f4ec1
commit
eb8237dd89
10 changed files with 17 additions and 18 deletions
|
@ -1271,7 +1271,7 @@ class Transmitter
|
|||
}
|
||||
|
||||
if ($type == 'Delete') {
|
||||
$data['id'] = Item::newURI($item['uid'], $item['guid']) . '/' . $type;;
|
||||
$data['id'] = Item::newURI($item['guid']) . '/' . $type;;
|
||||
} elseif (($item['gravity'] == GRAVITY_ACTIVITY) && ($type != 'Undo')) {
|
||||
$data['id'] = $item['uri'];
|
||||
} else {
|
||||
|
|
|
@ -618,7 +618,7 @@ class Feed
|
|||
// 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['uri'] = Item::newURI($item['uid'], $item['guid']);
|
||||
$item['uri'] = Item::newURI($item['guid']);
|
||||
unset($item['thr-parent']);
|
||||
unset($item['parent-uri']);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue