Remove unused uid parameter in Item::newURI

This commit is contained in:
Hypolite Petovan 2022-07-09 07:32:32 -04:00
commit eb8237dd89
10 changed files with 17 additions and 18 deletions

View file

@ -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) {