Remove unused uid parameter in Item::newURI

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

View file

@ -154,7 +154,7 @@ class Mail
Photo::setPermissionFromBody($body, local_user(), $me['id'], '<' . $contact['id'] . '>', '', '', '');
$guid = System::createUUID();
$uri = Item::newURI(local_user(), $guid);
$uri = Item::newURI($guid);
$convid = 0;
$reply = false;
@ -266,7 +266,7 @@ class Mail
}
$guid = System::createUUID();
$uri = Item::newURI(local_user(), $guid);
$uri = Item::newURI($guid);
$me = Contact::getByURL($replyto);
if (!$me['name']) {