mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-16 20:05:14 +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
|
@ -525,7 +525,7 @@ function item_post(App $a) {
|
|||
$origin = $_REQUEST['origin'];
|
||||
}
|
||||
|
||||
$uri = Item::newURI($api_source ? $profile_uid : $uid, $guid);
|
||||
$uri = Item::newURI($guid);
|
||||
|
||||
// Fallback so that we alway have a parent uri
|
||||
if (!$thr_parent_uri || !$toplevel_item_id) {
|
||||
|
|
|
@ -360,7 +360,7 @@ function photos_post(App $a)
|
|||
if (DBA::isResult($photos) && !$item_id) {
|
||||
// Create item container
|
||||
$title = '';
|
||||
$uri = Item::newURI($page_owner_uid);
|
||||
$uri = Item::newURI();
|
||||
|
||||
$arr = [];
|
||||
$arr['guid'] = System::createUUID();
|
||||
|
@ -524,7 +524,7 @@ function photos_post(App $a)
|
|||
|
||||
if (count($taginfo)) {
|
||||
foreach ($taginfo as $tagged) {
|
||||
$uri = Item::newURI($page_owner_uid);
|
||||
$uri = Item::newURI();
|
||||
|
||||
$arr = [];
|
||||
$arr['guid'] = System::createUUID();
|
||||
|
@ -728,7 +728,7 @@ function photos_post(App $a)
|
|||
$smallest = 2;
|
||||
}
|
||||
|
||||
$uri = Item::newURI($page_owner_uid);
|
||||
$uri = Item::newURI();
|
||||
|
||||
// Create item container
|
||||
$lat = $lon = null;
|
||||
|
|
|
@ -73,7 +73,7 @@ function tagger_content(App $a) {
|
|||
return;
|
||||
}
|
||||
|
||||
$uri = Item::newURI($owner_uid);
|
||||
$uri = Item::newURI();
|
||||
$xterm = XML::escape($term);
|
||||
$post_type = (($item['resource-id']) ? DI::l10n()->t('photo') : DI::l10n()->t('status'));
|
||||
$targettype = (($item['resource-id']) ? Activity\ObjectType::IMAGE : Activity\ObjectType::NOTE );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue