mirror of
https://github.com/friendica/friendica
synced 2025-04-28 20:24:24 +02:00
moved get_guid to System::createGUID
This commit is contained in:
parent
3a179860e5
commit
c829e43725
21 changed files with 105 additions and 88 deletions
|
@ -47,7 +47,7 @@ class Mail
|
|||
return -2;
|
||||
}
|
||||
|
||||
$guid = get_guid(32);
|
||||
$guid = System::createGUID(32);
|
||||
$uri = 'urn:X-dfrn:' . System::baseUrl() . ':' . local_user() . ':' . $guid;
|
||||
|
||||
$convid = 0;
|
||||
|
@ -76,7 +76,7 @@ class Mail
|
|||
$recip_handle = (($contact['addr']) ? $contact['addr'] : $contact['nick'] . '@' . $recip_host);
|
||||
$sender_handle = $a->user['nickname'] . '@' . substr(System::baseUrl(), strpos(System::baseUrl(), '://') + 3);
|
||||
|
||||
$conv_guid = get_guid(32);
|
||||
$conv_guid = System::createGUID(32);
|
||||
$convuri = $recip_handle . ':' . $conv_guid;
|
||||
|
||||
$handles = $recip_handle . ';' . $sender_handle;
|
||||
|
@ -174,7 +174,7 @@ class Mail
|
|||
$subject = L10n::t('[no subject]');
|
||||
}
|
||||
|
||||
$guid = get_guid(32);
|
||||
$guid = System::createGUID(32);
|
||||
$uri = 'urn:X-dfrn:' . System::baseUrl() . ':' . local_user() . ':' . $guid;
|
||||
|
||||
$me = Probe::uri($replyto);
|
||||
|
@ -183,7 +183,7 @@ class Mail
|
|||
return -2;
|
||||
}
|
||||
|
||||
$conv_guid = get_guid(32);
|
||||
$conv_guid = System::createGUID(32);
|
||||
|
||||
$recip_handle = $recipient['nickname'] . '@' . substr(System::baseUrl(), strpos(System::baseUrl(), '://') + 3);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue