mirror of
https://github.com/friendica/friendica
synced 2025-04-23 03:10:12 +00: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
|
@ -248,7 +248,7 @@ class Event
|
|||
$event['uid'] = intval($arr['uid'] ?? 0);
|
||||
$event['cid'] = intval($arr['cid'] ?? 0);
|
||||
$event['guid'] = ($arr['guid'] ?? '') ?: System::createUUID();
|
||||
$event['uri'] = ($arr['uri'] ?? '') ?: Item::newURI($event['uid'], $event['guid']);
|
||||
$event['uri'] = ($arr['uri'] ?? '') ?: Item::newURI($event['guid']);
|
||||
$event['uri-id'] = ItemURI::insert(['uri' => $event['uri'], 'guid' => $event['guid']]);
|
||||
$event['type'] = ($arr['type'] ?? '') ?: 'event';
|
||||
$event['summary'] = $arr['summary'] ?? '';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue